| | |
| | | |
| | | <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="VerticalAlignment" Value="Center"/> |
| | | <Setter Property="Padding" Value="5"/> |
| | | </Style>--> |
| | | |
| | | <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="RowHeight" Value="30"/> |
| | |
| | | <Setter Property="pu:DataGridHelper.RowSelectedBackground" Value="{StaticResource PrimaryColor}"/> |
| | | <Setter Property="pu:DataGridHelper.RowSelectedForeground" Value="White"/> |
| | | <Setter Property="pu:DataGridHelper.RowHeaderBorderThickness" Value="10,0,0,0"/> |
| | | <Setter Property="pu:DataGridHelper.RowHeaderBackground" Value="Red"/> |
| | | <Setter Property="pu:DataGridHelper.ColumnHeaderBorderThickness" Value="0"/> |
| | | <Setter Property="pu:DataGridHelper.ColumnHeaderPadding" Value="0"/> |
| | | </Style> |
| | |
| | | <Setter Property="pu:WindowXCaption.Buttons" Value="Close"/> |
| | | <Setter Property="pu:WindowXModalDialog.Buttons" Value="OKCancel"/> |
| | | <Setter Property="pu:WindowXModalDialog.CancelButtonContent" |
| | | Value="{Binding Converter={StaticResource lc},ConverterParameter='App.Cancel'}"/> |
| | | Value="{DynamicResource App.Cancel}"/> |
| | | <Setter Property="pu:WindowXModalDialog.OKButtonContent" |
| | | Value="{Binding Converter={StaticResource lc},ConverterParameter='App.Save'}"/> |
| | | Value="{DynamicResource App.Save}"/> |
| | | <Setter Property="pu:WindowXModalDialog.ButtonPanelMargin" Value="0,30,10,10"/> |
| | | </Style> |
| | | </ResourceDictionary> |