File tree Expand file tree Collapse file tree 4 files changed +342
-8
lines changed
src/Devolutions.AvaloniaTheme.DevExpress Expand file tree Collapse file tree 4 files changed +342
-8
lines changed Original file line number Diff line number Diff line change 5
5
<Styles x : Key =" LinuxYaruStyles" >
6
6
<StyleInclude Source =" avares://Devolutions.AvaloniaTheme.Linux/LinuxTheme.axaml" />
7
7
<StyleInclude Source =" /Styles.axaml" />
8
- <!-- TODO: move into themes -->
9
- <StyleInclude Source =" avares://Avalonia.Controls.TreeDataGrid/Themes/Fluent.axaml" />
10
8
</Styles >
11
9
<Styles x : Key =" DevExpressStyles" >
12
10
<StyleInclude Source =" avares://Devolutions.AvaloniaTheme.DevExpress/DevExpressTheme.axaml" />
13
11
<StyleInclude Source =" /Styles.axaml" />
14
- <!-- TODO: move into themes -->
15
- <StyleInclude Source =" avares://Avalonia.Controls.TreeDataGrid/Themes/Fluent.axaml" />
16
12
</Styles >
17
13
<Styles x : Key =" MacOsStyles" >
18
14
<StyleInclude Source =" avares://Devolutions.AvaloniaTheme.MacOS/MacOSTheme.axaml" />
19
15
<StyleInclude Source =" /Styles.axaml" />
20
- <!-- TODO: move into themes -->
21
- <StyleInclude Source =" avares://Avalonia.Controls.TreeDataGrid/Themes/Fluent.axaml" />
22
16
</Styles >
23
17
</Application .Resources>
24
18
29
23
<StyleInclude Source =" avares://Devolutions.AvaloniaTheme.DevExpress/DevExpressTheme.axaml" />
30
24
<!-- <StyleInclude Source="avares://Devolutions.AvaloniaTheme.Linux/LinuxTheme.axaml" /> -->
31
25
<StyleInclude Source =" /Styles.axaml" />
32
- <!-- TODO: move into themes -->
33
- <StyleInclude Source =" avares://Avalonia.Controls.TreeDataGrid/Themes/Fluent.axaml" />
34
26
</Application .Styles>
35
27
</Application >
Original file line number Diff line number Diff line change 38
38
<Style Selector =" DataGridRow:nth-child(even)" >
39
39
<Setter Property =" Background" Value =" {DynamicResource DataGridRowAlternatingBackgroundBrush}" />
40
40
</Style >
41
+
42
+ <Style Selector =" :is(TreeDataGridCell)" >
43
+ <Setter Property =" Background" Value =" Transparent" />
44
+ <Setter Property =" MinHeight" Value =" 25" />
45
+ </Style >
46
+
47
+ <Style Selector =" :is(TreeDataGridCell):selected" >
48
+ <Setter Property =" Background" Value =" {DynamicResource TreeDataGridSelectedCellBackgroundBrush}" />
49
+ </Style >
41
50
</Styles >
You can’t perform that action at this time.
0 commit comments