|
15 | 15 | </ResourceDictionary.MergedDictionaries>
|
16 | 16 |
|
17 | 17 | <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
|
18 |
| - |
| 18 | + |
19 | 19 | <Style x:Key="PrettifyRow" TargetType="{x:Type DataGridRow}">
|
20 |
| - <Style.Resources> |
21 |
| - <Style TargetType="{x:Type Border}"> |
22 |
| - <Setter Property="CornerRadius" Value="2"/> |
23 |
| - </Style> |
24 |
| - </Style.Resources> |
25 | 20 | <EventSetter Event="MouseDoubleClick" Handler="GroupingGridItem_MouseDoubleClick" />
|
26 |
| - <Setter Property="BorderThickness" Value="0,.5,0,0" /> |
27 |
| - <Setter Property="BorderBrush" Value="DarkGray" /> |
| 21 | + <Setter Property="Height" Value="Auto" /> |
28 | 22 | <Setter Property="MinHeight" Value="26" />
|
29 |
| - <Setter Property="TextBlock.FontWeight" Value="Normal" /> |
30 |
| - <Style.Triggers> |
31 |
| - <Trigger Property="IsSelected" Value="True"> |
32 |
| - <Setter Property="BorderThickness" Value="1.5" /> |
33 |
| - </Trigger> |
34 |
| - <MultiTrigger> |
35 |
| - <MultiTrigger.Conditions> |
36 |
| - <Condition Property="IsSelected" Value="True" /> |
37 |
| - <Condition Property="Selector.IsSelectionActive" Value="True" /> |
38 |
| - </MultiTrigger.Conditions> |
39 |
| - <Setter Property="BorderBrush" Value="#adc6e5"/> |
40 |
| - <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" /> |
41 |
| - </MultiTrigger> |
42 |
| - <MultiTrigger> |
43 |
| - <MultiTrigger.Conditions> |
44 |
| - <Condition Property="IsSelected" Value="True" /> |
45 |
| - <Condition Property="Selector.IsSelectionActive" Value="False" /> |
46 |
| - </MultiTrigger.Conditions> |
47 |
| - <Setter Property="BorderBrush" Value="LightGray"/> |
48 |
| - <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.InactiveSelectionHighlightBrushKey}}" /> |
49 |
| - </MultiTrigger> |
50 |
| - </Style.Triggers> |
51 | 23 | </Style>
|
52 | 24 |
|
53 | 25 | <Style TargetType="{x:Type DataGridColumnHeadersPresenter}">
|
|
0 commit comments