| | |
| | | |
| | | <Style x:Key="DefaultDataGridRow" TargetType="DataGridRow" BasedOn="{StaticResource {x:Static pu:StyleKeys.DataGridRowStyle}}"> |
| | | <Setter Property="Background" Value="White"/> |
| | | <Setter Property="DetailsVisibility" Value="Collapsed"/> |
| | | <Setter Property="HeaderStyle"> |
| | | <Setter.Value> |
| | | <Style TargetType="DataGridColumnHeader" |
| | | BasedOn="{StaticResource {x:Static pu:StyleKeys.DataGridColumnHeaderStyle}}"> |
| | | <Setter Property="Padding" Value="10"/> |
| | | <Setter Property="BorderThickness" Value="0"/> |
| | | </Style> |
| | | </Setter.Value> |
| | | </Setter> |
| | | <Style.Triggers> |
| | | <Trigger Property="AlternationIndex" Value="1"> |
| | | <Setter Property="Background" Value="#eeeeee"/> |
| | |
| | | </Style.Triggers> |
| | | </Style> |
| | | |
| | | |
| | | <Style x:Key="DefaultDataGrid" TargetType="DataGrid" BasedOn="{StaticResource {x:Static pu:StyleKeys.DataGridStyle}}"> |
| | | <Style.Resources> |
| | | <Style TargetType="DataGridCell" |
| | | BasedOn="{StaticResource {x:Static pu:StyleKeys.DataGridCellStyle}}"> |
| | | <Setter Property="Background" Value="Transparent"/> |
| | |
| | | <Setter Property="Margin" Value="0"/> |
| | | <Setter Property="BorderThickness" Value="0"/> |
| | | <Setter Property="VerticalAlignment" Value="Stretch"/> |
| | | </Style> |
| | | |
| | | <Style x:Key="DefaultDataGrid" TargetType="DataGrid" BasedOn="{StaticResource {x:Static pu:StyleKeys.DataGridStyle}}"> |
| | | <Style.Resources> |
| | | <Style TargetType="DataGridColumnHeader" |
| | | BasedOn="{StaticResource {x:Static pu:StyleKeys.DataGridColumnHeaderStyle}}"> |
| | | <Setter Property="Padding" Value="10"/> |
| | | <Setter Property="BorderThickness" Value="0"/> |
| | | </Style> |
| | | </Style.Resources> |
| | | |
| | |
| | | <Setter Property="pu:DataGridHelper.ColumnHeaderPadding" Value="0"/> |
| | | <Setter Property="ForceCursor" Value="True"/> |
| | | <Setter Property="SelectionMode" Value="Single"/> |
| | | <Setter Property="RowStyle" Value="{StaticResource DefaultDataGridRow}"/> |
| | | <!--<Setter Property="RowStyle" Value="{StaticResource DefaultDataGridRow}"/>--> |
| | | <Setter Property="AlternationCount" Value="2"></Setter> |
| | | <Setter Property="Foreground" Value="#3a3a3a"/> |
| | | <Setter Property="HorizontalGridLinesBrush" Value="{StaticResource TableBoarder}"/> |