You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
1.2 KiB

<UserControl x:Class="Audit.View.QueryView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Audit.View"
mc:Ignorable="d" DataContext="{Binding Source={StaticResource Locator},Path=Query}"
d:DesignHeight="900" d:DesignWidth="1100" BorderBrush="Black" Background="White">
<Grid>
<DataGrid HorizontalAlignment="Left" Height="645" Margin="30,200,0,0" VerticalAlignment="Top" Width="220" d:ItemsSource="{d:SampleData ItemCount=200}" AutoGenerateColumns="False" MinColumnWidth="30" HorizontalGridLinesBrush="Black" VerticalGridLinesBrush="Black" GridLinesVisibility="All" SelectionChanged="DataGrid_SelectionChanged">
<DataGrid.Columns>
<DataGridTextColumn Header="单号" Width="150" FontSize="25" />
<DataGridTextColumn Header="染机" Width="70" FontSize="25"/>
</DataGrid.Columns>
</DataGrid>
</Grid>
</UserControl>