Permalink
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (32 sloc) 1.2 KB
<!--<SnippetXAML>-->
<StackPanel
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="SDKSample.RoutedEventHandle"
Name="dpanel"
>
<StackPanel.Resources>
<Style TargetType="{x:Type Button}">
<Setter Property="Height" Value="20"/>
<Setter Property="Width" Value="250"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
</Style>
</StackPanel.Resources>
<!--<SnippetSimplestSyntax>-->
<Button Click="b1SetColor">button</Button>
<!--</SnippetSimplestSyntax>-->
<Button Name="Button1">Item 1</Button>
<Button Name="Button2">Item 2</Button>
<TextBlock Name="results"/>
<!--<SnippetGroupButton>-->
<Border Height="50" Width="300" BorderBrush="Gray" BorderThickness="1">
<StackPanel Background="LightGray" Orientation="Horizontal" Button.Click="CommonClickHandler">
<Button Name="YesButton" Width="Auto" >Yes</Button>
<Button Name="NoButton" Width="Auto" >No</Button>
<Button Name="CancelButton" Width="Auto" >Cancel</Button>
</StackPanel>
</Border>
<!--</SnippetGroupButton>-->
<Button Click="NavTo2">Nav to Page2</Button>
</StackPanel>
<!--</SnippetXAML>-->