binding
This commit is contained in:
@@ -30,7 +30,7 @@ namespace DataBindingSample
|
||||
{
|
||||
Binding binding = new Binding();
|
||||
binding.Source = tbxByCodeBehind;
|
||||
binding.Path = new PropertyPath(tbxByCodeBehind.Text);
|
||||
binding.Path = new PropertyPath(TextBox.TextProperty);
|
||||
lblByCodeBehind.SetBinding(Label.ContentProperty, binding);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user