Element Name Attribute in WPF Databinding -


what use of element name attribute in wpf databinding.

e.g.

<window x:class="wpfapplication1.window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     title="window1" height="300" width="300" name="win">     <textbox x:name="txtdata" width="100" height="26" text={binding elementname=win,mode=twoway,path=data}/> <window> 

regards, priyank thakkar

it's binding element in application - see http://msdn.microsoft.com/en-us/library/system.windows.data.binding.elementname.aspx

in case attempting bind window element name win.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -