Hello,
xaml:
<GridBackground="{ThemeResourceApplicationPageBackgroundThemeBrush}">
<TextBoxx:Name="tx01A"HorizontalAlignment="Left"Margin="805,120,0,0"TextWrapping="Wrap"Text="TextBox"VerticalAlignment="Top"/>
<TextBoxx:Name="tx02A"HorizontalAlignment="Left"Margin="930,120,0,0"TextWrapping="Wrap"VerticalAlignment="Top"/>
</Grid>
c#
public MainPage()
{
this.InitializeComponent();
Binding bd01 = new Binding();
bd01.Source = tx01;
bd01.Path = new PropertyPath("Text");
tx02.SetBinding(TextBox.TextProperty, bd01);
}
This is a simple Binding in code of two textBoxes.
If you Change the text in tx01 TextBox the Text in tx02-TextBox should be the same.
If I do the binding in xaml all works fine. (in code in wpf all works fine).
Binding in Code in Windows runtime does not update the target.
Thank you for any help.
Rowe10