added SSCLI 1.0
[windows-sources.git] / sdk / samples / WPFSamples / Thumb / csharp / pane1.xaml
blob7fcaf26674b144cb558d16905d99da4502b6463b
1 <Canvas  
2     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4     x:Class="Thumb_wcp.Pane1"
6   <Canvas Width="100" Height="100" Background="Green" Name="myCanvasStretch">
7     <TextBox Canvas.Left="0"  Canvas.Top="0"  Name="changes" 
8          Width="{Binding ElementName=myCanvasStretch,Path=Width}"  
9          Height="{Binding ElementName=myCanvasStretch,Path=Height}" 
10          Text="Size: 100, 100" Background="Green" Foreground="Yellow"
11          BorderThickness="0"/>
13     <Thumb Name="myThumb" Canvas.Left="80" Canvas.Top="80" Background="Blue" 
14           Width="20" Height="20" DragDelta="onDragDelta" 
15           DragStarted="onDragStarted" DragCompleted="onDragCompleted"
16           />
18   </Canvas>
19 </Canvas>