First one has the desired affect – change text in textbox and the content of the label changes whereas the second one doesn’t. Why?
<StackPanel>
<Label Name="displayText" Content="{Binding ElementName=displayText, Path=Content, Mode=TwoWay}"/>
<TextBox Name="sourceInfo"/>
</StackPanel>
<StackPanel>
<Label Name="displayText"/>
<TextBox Name="sourceInfo" Text="{Binding ElementName=displayText, Path=Content, Mode=TwoWay}"/>
</StackPanel>
These two work:
You need to bind to the correct property on the correct item. In the top case, you bount the label to its own Content property… oops.