February 2010
Beginner
400 pages
11h 13m
English
In Silverlight 3.0 and WPF 4.0, you can now bind directly to another element. This example binds a TextBlock's Text property to the Text property of the text box txtValue:
<TextBox x:Name="txtValue" Width="200" Canvas.Top="50" ></TextBox>
<TextBlock Text="{Binding Text, ElementName=txtValue}"></TextBlock>