|
114 | 114 | <Grid ToolTip="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type DataGridRow}}, |
115 | 115 | Path=(Validation.Errors), |
116 | 116 | Converter={StaticResource ValidationErrorGetErrorMessageConverter}}" |
117 | | - Background="{DynamicResource SystemControlErrorTextForegroundBrush}" Margin="-1,-1,-1,-1"> |
| 117 | + Background="{StaticResource ErrorMessageBrush}" Margin="-1,-2,1,2"> |
118 | 118 | <ui:SymbolIcon Symbol="Important" VerticalAlignment="Center" HorizontalAlignment="Center"/> |
119 | 119 | </Grid> |
120 | 120 | </ControlTemplate> |
|
433 | 433 | ItemsSource="{Binding Path=NonNullSplits.ObservableCollection}" |
434 | 434 | RowValidationErrorTemplate="{StaticResource RowValidationErrorTemplate}" |
435 | 435 | RowEditEnding="TheGridForAmountSplit_RowEditEnding" |
436 | | - RowHeaderWidth="0" |
437 | 436 | CellStyle="{DynamicResource MyDataGridCellStyle}" |
438 | 437 | Style="{DynamicResource MyDataGridStyle2}" |
439 | 438 | help:HelpService.HelpKeyword="Basics/Splits/" |
|
484 | 483 | <Setter Property="ContentMargin" Value="0,0,0,30"/> |
485 | 484 | <Setter Property="VirtualizingStackPanel.IsVirtualizing" Value="True"/> |
486 | 485 | <Setter Property="VirtualizingStackPanel.VirtualizationMode" Value="Recycling"/> |
487 | | - <Setter Property="RowHeaderWidth" Value="0"/> |
488 | 486 | <Setter Property="BorderBrush" Value="Transparent"/> |
489 | 487 | </Style> |
490 | 488 |
|
|
502 | 500 | <Setter Property="ClipboardCopyMode" Value="None"/> |
503 | 501 | <Setter Property="VirtualizingStackPanel.IsVirtualizing" Value="True"/> |
504 | 502 | <Setter Property="VirtualizingStackPanel.VirtualizationMode" Value="Recycling"/> |
505 | | - <Setter Property="RowHeaderWidth" Value="0"/> |
506 | 503 | <Setter Property="BorderBrush" Value="Transparent"/> |
507 | 504 | </Style> |
| 505 | + |
| 506 | + <Style TargetType="{x:Type DataGridRowHeader}" > |
| 507 | + <Setter Property="Background" Value="{DynamicResource SystemControlPageBackgroundChromeMediumLowBrush}" /> |
| 508 | + <Setter Property="Foreground" Value="White" /> |
| 509 | + </Style> |
508 | 510 |
|
509 | | - <Style x:Key="MyDataGridRowStyle" TargetType="DataGridRow"> |
| 511 | + <Style x:Key="MyDataGridRowStyle" TargetType="DataGridRow"> |
510 | 512 | <EventSetter Event="DragOver" Handler="OnDataGridRowDragOver"/> |
511 | 513 | <EventSetter Event="DragEnter" Handler="OnDataGridRowDragEnter"/> |
512 | 514 | <EventSetter Event="DragLeave" Handler="OnDataGridRowDragLeave"/> |
|
0 commit comments