⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 customerheaderview.xaml

📁 wpf和cab的结合使用源码(转载)
💻 XAML
字号:
<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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -