?? window1.xaml
字號:
<Window x:Class="DTSample.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="DTSample" Height="500" Width="500"
xmlns:er="clr-namespace:DTSample"
Loaded="OnLoaded"
xmlns:d="http://schemas.microsoft.com/expression/interactivedesigner/2006"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
>
<StackPanel><!--, Mode = TwoWay-->
<Button x:Name="Button1" Content="I'm button1" MouseEnter="BT1_MouseEnter" MouseLeave="BT1_MouseLeave" Height="100" Width="200"></Button>
<Button x:Name="Button2" Margin="0,30,0,0" Content="I'm button2" MouseEnter="BT2_MouseEnter" MouseLeave="BT2_MouseLeave" Height="100" Width="200"></Button>
<!--<Button x:Name="Button1" Content="{Binding Path=Content}" MouseEnter="BT1_MouseEnter" MouseLeave="BT1_MouseLeave" Click="Onclick" Height="{Binding Path=Height}" Width="200"></Button>
<Button x:Name="Button2" Margin="0,30,0,0" Content="I'm button2" MouseEnter="BT2_MouseEnter" MouseLeave="BT2_MouseLeave" Height="100" Width="200"></Button>-->
</StackPanel>
</Window>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -