|
|
@ -6,7 +6,7 @@ |
|
|
xmlns:local="clr-namespace:DyeingComputer.View" |
|
|
xmlns:local="clr-namespace:DyeingComputer.View" |
|
|
xmlns:lang="clr-namespace:DyeingComputer.Properties" |
|
|
xmlns:lang="clr-namespace:DyeingComputer.Properties" |
|
|
xmlns:localUserClass="clr-namespace:DyeingComputer.UserClass" |
|
|
xmlns:localUserClass="clr-namespace:DyeingComputer.UserClass" |
|
|
mc:Ignorable="d" |
|
|
mc:Ignorable="d" Loaded="UserControl_Loaded" |
|
|
d:DesignHeight="630" d:DesignWidth="1280" VerticalAlignment="Top"> |
|
|
d:DesignHeight="630" d:DesignWidth="1280" VerticalAlignment="Top"> |
|
|
<Grid> |
|
|
<Grid> |
|
|
<DataGrid x:Name="Grid" AlternationCount="2" Margin="0,0,0,0" d:ItemsSource="{d:SampleData ItemCount=99}" AutoGenerateColumns="False" |
|
|
<DataGrid x:Name="Grid" AlternationCount="2" Margin="0,0,0,0" d:ItemsSource="{d:SampleData ItemCount=99}" AutoGenerateColumns="False" |
|
|
@ -14,8 +14,7 @@ |
|
|
BorderThickness="1,1,1,1" ColumnHeaderHeight="40" HorizontalContentAlignment="Right" Grid.ColumnSpan="2" AllowDrop="False" |
|
|
BorderThickness="1,1,1,1" ColumnHeaderHeight="40" HorizontalContentAlignment="Right" Grid.ColumnSpan="2" AllowDrop="False" |
|
|
CanUserReorderColumns="False" CanUserSortColumns="False" CanUserResizeRows="False" CanUserResizeColumns="False" |
|
|
CanUserReorderColumns="False" CanUserSortColumns="False" CanUserResizeRows="False" CanUserResizeColumns="False" |
|
|
CanUserAddRows="False" CanUserDeleteRows="False" HeadersVisibility ="Column" InputMethod.IsInputMethodEnabled ="False" |
|
|
CanUserAddRows="False" CanUserDeleteRows="False" HeadersVisibility ="Column" InputMethod.IsInputMethodEnabled ="False" |
|
|
CellEditEnding="Grid_CellEditEnding" |
|
|
CellEditEnding="Grid_CellEditEnding" Background="White" SelectionMode="Single" FontSize="15" Cursor="AppStarting" > |
|
|
Background="White" SelectionMode="Single" FontSize="15" Cursor="AppStarting" > |
|
|
|
|
|
<DataGrid.RowStyle > |
|
|
<DataGrid.RowStyle > |
|
|
<Style TargetType="{x:Type DataGridRow}"> |
|
|
<Style TargetType="{x:Type DataGridRow}"> |
|
|
<Setter Property="Height" Value="30" /> |
|
|
<Setter Property="Height" Value="30" /> |
|
|
|