File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed
src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 14
14
<system : Double x : Key =" TreeViewItemChevronSize" >10</system : Double >
15
15
<system : Double x : Key =" TreeViewItemFontSize" >14</system : Double >
16
16
<system : String x : Key =" TreeViewChevronRightGlyph" > </system : String >
17
+ <system : String x : Key =" TreeViewChevronLeftGlyph" > </system : String >
17
18
18
19
<Style x : Key =" ExpandCollapseToggleButtonStyle" TargetType =" {x:Type ToggleButton}" >
19
20
<!-- Universal WPF UI focus -->
43
44
Text =" {StaticResource TreeViewChevronRightGlyph}" />
44
45
</Grid >
45
46
<ControlTemplate .Triggers>
47
+ <Trigger Property =" FlowDirection" Value =" RightToLeft" >
48
+ <Setter TargetName =" ChevronIcon" Property =" Text" Value =" {StaticResource TreeViewChevronLeftGlyph}" />
49
+ </Trigger >
46
50
<Trigger Property =" IsChecked" Value =" True" >
47
51
<Trigger .EnterActions>
48
52
<BeginStoryboard >
Original file line number Diff line number Diff line change 5230
5230
<system : Double x : Key =" TreeViewItemChevronSize" >10</system : Double >
5231
5231
<system : Double x : Key =" TreeViewItemFontSize" >14</system : Double >
5232
5232
<system : String x : Key =" TreeViewChevronRightGlyph" ></system : String >
5233
+ <system : String x : Key =" TreeViewChevronLeftGlyph" ></system : String >
5233
5234
<Style x : Key =" ExpandCollapseToggleButtonStyle" TargetType =" {x:Type ToggleButton}" >
5234
5235
<!-- Universal WPF UI focus -->
5235
5236
<Setter Property =" FocusVisualStyle" Value =" {DynamicResource DefaultCollectionFocusVisualStyle}" />
5247
5248
<TextBlock x : Name =" ChevronIcon" VerticalAlignment =" Center" FontSize =" {StaticResource TreeViewItemChevronSize}" FontFamily =" {DynamicResource SymbolThemeFontFamily}" HorizontalAlignment =" Center" Text =" {StaticResource TreeViewChevronRightGlyph}" />
5248
5249
</Grid >
5249
5250
<ControlTemplate .Triggers>
5251
+ <Trigger Property =" FlowDirection" Value =" RightToLeft" >
5252
+ <Setter TargetName =" ChevronIcon" Property =" Text" Value =" {StaticResource TreeViewChevronLeftGlyph}" />
5253
+ </Trigger >
5250
5254
<Trigger Property =" IsChecked" Value =" True" >
5251
5255
<Trigger .EnterActions>
5252
5256
<BeginStoryboard >
Original file line number Diff line number Diff line change 5170
5170
<system : Double x : Key =" TreeViewItemChevronSize" >10</system : Double >
5171
5171
<system : Double x : Key =" TreeViewItemFontSize" >14</system : Double >
5172
5172
<system : String x : Key =" TreeViewChevronRightGlyph" ></system : String >
5173
+ <system : String x : Key =" TreeViewChevronLeftGlyph" ></system : String >
5173
5174
<Style x : Key =" ExpandCollapseToggleButtonStyle" TargetType =" {x:Type ToggleButton}" >
5174
5175
<!-- Universal WPF UI focus -->
5175
5176
<Setter Property =" FocusVisualStyle" Value =" {DynamicResource DefaultCollectionFocusVisualStyle}" />
5187
5188
<TextBlock x : Name =" ChevronIcon" VerticalAlignment =" Center" FontSize =" {StaticResource TreeViewItemChevronSize}" FontFamily =" {DynamicResource SymbolThemeFontFamily}" HorizontalAlignment =" Center" Text =" {StaticResource TreeViewChevronRightGlyph}" />
5188
5189
</Grid >
5189
5190
<ControlTemplate .Triggers>
5191
+ <Trigger Property =" FlowDirection" Value =" RightToLeft" >
5192
+ <Setter TargetName =" ChevronIcon" Property =" Text" Value =" {StaticResource TreeViewChevronLeftGlyph}" />
5193
+ </Trigger >
5190
5194
<Trigger Property =" IsChecked" Value =" True" >
5191
5195
<Trigger .EnterActions>
5192
5196
<BeginStoryboard >
Original file line number Diff line number Diff line change 5239
5239
<system : Double x : Key =" TreeViewItemChevronSize" >10</system : Double >
5240
5240
<system : Double x : Key =" TreeViewItemFontSize" >14</system : Double >
5241
5241
<system : String x : Key =" TreeViewChevronRightGlyph" ></system : String >
5242
+ <system : String x : Key =" TreeViewChevronLeftGlyph" ></system : String >
5242
5243
<Style x : Key =" ExpandCollapseToggleButtonStyle" TargetType =" {x:Type ToggleButton}" >
5243
5244
<!-- Universal WPF UI focus -->
5244
5245
<Setter Property =" FocusVisualStyle" Value =" {DynamicResource DefaultCollectionFocusVisualStyle}" />
5256
5257
<TextBlock x : Name =" ChevronIcon" VerticalAlignment =" Center" FontSize =" {StaticResource TreeViewItemChevronSize}" FontFamily =" {DynamicResource SymbolThemeFontFamily}" HorizontalAlignment =" Center" Text =" {StaticResource TreeViewChevronRightGlyph}" />
5257
5258
</Grid >
5258
5259
<ControlTemplate .Triggers>
5260
+ <Trigger Property =" FlowDirection" Value =" RightToLeft" >
5261
+ <Setter TargetName =" ChevronIcon" Property =" Text" Value =" {StaticResource TreeViewChevronLeftGlyph}" />
5262
+ </Trigger >
5259
5263
<Trigger Property =" IsChecked" Value =" True" >
5260
5264
<Trigger .EnterActions>
5261
5265
<BeginStoryboard >
You can’t perform that action at this time.
0 commit comments