File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 54
54
<DataGrid .Styles>
55
55
<Style Selector =" DataGridColumnHeader" >
56
56
<Setter Property =" MinHeight" Value =" 24" />
57
- <Setter Property =" Background" Value =" {DynamicResource Brush.Window}" />
58
- <Setter Property =" HorizontalContentAlignment" Value =" Stretch" />
57
+ <Setter Property =" Background" Value =" {DynamicResource Brush.Window}" />
59
58
<Setter Property =" Template" >
60
59
<ControlTemplate >
61
60
<Border x : Name =" HeaderBorder"
62
61
Background =" {TemplateBinding Background}"
63
- BorderBrush =" {TemplateBinding BorderBrush}"
64
- BorderThickness =" {TemplateBinding BorderThickness}"
65
- CornerRadius =" {TemplateBinding CornerRadius}" >
66
- <Grid ColumnDefinitions =" *,Auto" >
62
+ BorderThickness =" 0"
63
+ CornerRadius =" 0" >
64
+ <Grid ColumnDefinitions =" *,4" >
67
65
<ContentPresenter x : Name =" PART_ContentPresenter"
68
66
Grid.Column=" 0"
69
67
Content =" {TemplateBinding Content}"
70
68
ContentTemplate =" {TemplateBinding ContentTemplate}" />
71
69
72
70
<Rectangle Name =" VerticalSeparator"
73
71
Grid.Column=" 1"
74
- Width =" 1.1 "
75
- VerticalAlignment =" Stretch"
72
+ Width =" 1"
73
+ HorizontalAlignment = " Center " VerticalAlignment =" Stretch"
76
74
Fill =" {DynamicResource Brush.Border0}"
77
75
IsVisible =" {TemplateBinding AreSeparatorsVisible}" />
78
76
</Grid >
You can’t perform that action at this time.
0 commit comments