vue-java-tutorials/CSharp/WPFTutorial/WPF-5-CustomTextboxContro/MainWindow.xaml

26 lines
1.5 KiB
XML

<Window x:Class="WPF_5_CustomTextboxContro.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:userControllers="clr-namespace:WPF_5_CustomTextboxContro.View.UserControllers"
mc:Ignorable="d"
Title="MainWindow" Height="400" Width="800">
<Grid ShowGridLines="True">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<userControllers:ClearableTextBox Grid.Row="0" Width="250" Height="40" Placeholder="在此键入1..." />
<userControllers:ClearableTextBox Grid.Row="1" Width="250" Height="40" Placeholder="在此键入2..." />
<userControllers:ClearableTextBox Grid.Row="2" Width="250" Height="40" Placeholder="在此键入3..." />
<userControllers:ClearableTextBox Grid.Row="3" Width="250" Height="40" Placeholder="在此键入4..." />
<userControllers:ClearableTextBox Grid.Row="4" Width="250" Height="40" Placeholder="在此键入5..." />
<userControllers:ClearableTextBox Grid.Row="5" Width="250" Height="40" Placeholder="在此键入6..." />
</Grid>
</Window>