|
|
@@ -43,11 +43,12 @@
|
|
|
<RowDefinition Height="*"/>
|
|
|
</Grid.RowDefinitions>
|
|
|
<TextBlock VerticalAlignment="Center" FontSize="20" Margin="10,0,0,0">Command List</TextBlock>
|
|
|
- <Grid Grid.Row="1">
|
|
|
+ <Grid Grid.Row="1" Background="#263238">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="2*"/>
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
+
|
|
|
<DataGrid ItemsSource="{Binding CommandList}" CanUserSortColumns="True" CanUserAddRows="False" AutoGenerateColumns="False" materialDesign:DataGridAssist.CellPadding="13 8 8 8"
|
|
|
materialDesign:DataGridAssist.ColumnHeaderPadding="8" Background="{x:Null}" Foreground="White" IsReadOnly="True" >
|
|
|
|
|
|
@@ -61,6 +62,11 @@
|
|
|
<Setter Property="TextBlock.TextAlignment" Value="Center" />
|
|
|
<Setter Property="FontSize" Value="15"/>
|
|
|
</Style>
|
|
|
+ <Style TargetType="DataGridColumnHeader" BasedOn="{StaticResource MaterialDesignDataGridColumnHeader}">
|
|
|
+ <Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
|
+ <Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
|
+ <Setter Property="Foreground" Value="White"/>
|
|
|
+ </Style>
|
|
|
</DataGrid.Resources>
|
|
|
|
|
|
<DataGrid.Columns>
|