Browse Source
Merge pull request #3535 from Symbai/datagridBackgroundfix
Fix DataGrid background color is being ignored
pull/3543/head
Steven Kirk
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
src/Avalonia.Controls.DataGrid/Themes/Default.xaml
|
|
|
@ -207,10 +207,10 @@ |
|
|
|
</Setter> |
|
|
|
<Setter Property="Template"> |
|
|
|
<ControlTemplate> |
|
|
|
<Border BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}"> |
|
|
|
<Grid |
|
|
|
RowDefinitions="Auto,*,Auto,Auto" |
|
|
|
ColumnDefinitions="Auto,*,Auto"> |
|
|
|
<Border Background="{TemplateBinding Background}" |
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" |
|
|
|
BorderBrush="{TemplateBinding BorderBrush}"> |
|
|
|
<Grid RowDefinitions="Auto,*,Auto,Auto" ColumnDefinitions="Auto,*,Auto"> |
|
|
|
|
|
|
|
<DataGridColumnHeader Name="PART_TopLeftCornerHeader" Width="22" /> |
|
|
|
<DataGridColumnHeadersPresenter Name="PART_ColumnHeadersPresenter" Grid.Column="1"/> |
|
|
|
|