<Window x:Class="ButtonSample02.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Button控件范例 -- ClickMode" Height="243" Width="317" FontSize="14" Loaded="Window_Loaded">
    <Grid>
        <Button Content="ClickMode = Release" Height="39" HorizontalAlignment="Left" Margin="33,22,0,0" Name="btnRelease" VerticalAlignment="Top" Width="220" Click="btnRelease_Click" />
        <Button Content="ClickMode = Press" Height="39" HorizontalAlignment="Left" Margin="33,78,0,0" Name="btnPress" VerticalAlignment="Top" Width="220" ClickMode="Press" Click="btnPress_Click" />
        <Button Content="ClickMode = Havor" Height="39" HorizontalAlignment="Left" Margin="33,141,0,0" Name="btnHavor" VerticalAlignment="Top" Width="220" Click="btnHavor_Click" ClickMode="Hover" />
    </Grid>
</Window>
