Skip to content

Commit

Permalink
fix: Use Uno specific chevron symbol for collapse/expand in TreeView
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Sep 11, 2020
1 parent d8c3cba commit a60a0af
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ public TreeViewItemTemplateSettings TreeViewItemTemplateSettings
}

public static readonly DependencyProperty CollapsedGlyphProperty =
DependencyProperty.Register(nameof(CollapsedGlyph), typeof(string), typeof(TreeViewItem), new PropertyMetadata("\uE76C"));
DependencyProperty.Register(nameof(CollapsedGlyph), typeof(string), typeof(TreeViewItem), new PropertyMetadata("\uE0E3")); // UWP uses uE76C

public static readonly DependencyProperty ExpandedGlyphProperty =
DependencyProperty.Register(nameof(ExpandedGlyph), typeof(string), typeof(TreeViewItem), new PropertyMetadata("\uE70D"));
DependencyProperty.Register(nameof(ExpandedGlyph), typeof(string), typeof(TreeViewItem), new PropertyMetadata("\uE0E5")); // UWP uses uE70D

public static readonly DependencyProperty GlyphBrushProperty =
DependencyProperty.Register(nameof(GlyphBrush), typeof(Brush), typeof(TreeViewItem), new PropertyMetadata(null));
Expand All @@ -72,7 +72,7 @@ public TreeViewItemTemplateSettings TreeViewItemTemplateSettings
DependencyProperty.Register(nameof(GlyphOpacity), typeof(double), typeof(TreeViewItem), new PropertyMetadata(1.0));

public static readonly DependencyProperty GlyphSizeProperty =
DependencyProperty.Register(nameof(GlyphSize), typeof(double), typeof(TreeViewItem), new PropertyMetadata(0));
DependencyProperty.Register(nameof(GlyphSize), typeof(double), typeof(TreeViewItem), new PropertyMetadata(12.0));

public static readonly DependencyProperty HasUnrealizedChildrenProperty =
DependencyProperty.Register(nameof(HasUnrealizedChildren), typeof(bool), typeof(TreeViewItem), new PropertyMetadata(false, OnHasUnrealizedChildrenPropertyChanged));
Expand Down

0 comments on commit a60a0af

Please sign in to comment.