Last active
November 25, 2022 15:49
-
-
Save worldbeater/e1a4382c39cfba75831ba037929d2e5b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<StackPanel> | |
<!-- Note the ".Value" suffix added to "Name" and "Greeting" properties. --> | |
<TextBox Text="{Binding Name.Value, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/> | |
<TextBlock Text="{Binding Greeting.Value, Mode=OneWay}"/> | |
<Button Content="Clear" Command="{Binding Clear}"/> | |
</StackPanel> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment