customerheaderview.xaml
来自「wpf和cab的结合使用源码(转载)」· XAML 代码 · 共 25 行
XAML
25 行
<UserControl x:Class="BankTellerModule.CustomerHeaderView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*" MinWidth="100"/>
</Grid.ColumnDefinitions>
<Label>Customer ID:</Label>
<TextBox x:Name="txtCustomerID" Grid.Column="1" IsReadOnly="True" Text="{Binding Path=ID, Mode=OneWay}"/>
<Label Grid.Row="1">First Name:</Label>
<TextBox x:Name="txtFirstName" Grid.Row="1" Grid.Column="1" IsReadOnly="True" Text="{Binding FirstName}"/>
<Label Grid.Row="2">Last Name:</Label>
<TextBox x:Name="txtLastName" Grid.Row="2" Grid.Column="1" IsReadOnly="True" Text="{Binding LastName}"/>
</Grid>
</UserControl>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?