Add ch11 samples

This commit is contained in:
Alvin Ashcraft
2023-08-20 12:57:11 -04:00
parent 90f935f4b2
commit 404d155672
52 changed files with 2155 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<Window
x:Class="XamlDebugging.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:XamlDebugging"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel DataContext="Test"
Background="LightGray">
<TextBox x:Name="Text1"
Text="{Binding Path=SomeText, Mode=TwoWay}"/>
<TextBox Text="{Binding ElementName=Text1, Path=Text, Mode=OneWay}"/>
</StackPanel>
</Window>