File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/Avalonia.Themes.Fluent/Controls Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 115
115
</ControlTemplate >
116
116
</Setter >
117
117
118
- <Style Selector =" ^:checked /template/ Path#ExpandCollapseChevron" >
118
+ <Style Selector =" ^[Tag=expanded] /template/ Path#ExpandCollapseChevron" >
119
119
<Style .Animations>
120
120
<Animation FillMode =" Both" Duration =" 0:0:0.0625" >
121
121
<KeyFrame Cue =" 100%" >
125
125
</Style .Animations>
126
126
</Style >
127
127
128
- <Style Selector =" ^:not(:checked) /template/ Path#ExpandCollapseChevron" >
128
+ <Style Selector =" ^[Tag=collapsed] /template/ Path#ExpandCollapseChevron" >
129
129
<Style .Animations>
130
130
<Animation FillMode =" Both" Duration =" 0:0:0.0625" >
131
131
<KeyFrame Cue =" 0%" >
262
262
<Setter Property =" VerticalAlignment" Value =" Stretch" />
263
263
</Style >
264
264
265
+ <Style Selector =" ^:expanded /template/ ToggleButton#ExpanderHeader" >
266
+ <Setter Property =" Tag" Value =" expanded" />
267
+ </Style >
268
+
265
269
<Style Selector =" ^:not(:expanded) /template/ ToggleButton#ExpanderHeader" >
266
270
<Setter Property =" CornerRadius" Value =" {Binding $parent[Expander].CornerRadius}" />
271
+ <Setter Property =" Tag" Value =" collapsed" />
267
272
</Style >
268
273
<Style Selector =" ^:expanded:up /template/ ToggleButton#ExpanderHeader" >
269
274
<Setter Property =" CornerRadius" Value =" {TemplateBinding CornerRadius, Converter={StaticResource BottomCornerRadiusFilterConverter}}" />
You can’t perform that action at this time.
0 commit comments