Dela via


TreeViewItem.GlyphBrush Property

Definition

Gets or sets the Brush used to paint node glyphs on a TreeView.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewItem.GlyphBrush (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property Brush ^ GlyphBrush { Brush ^ get(); void set(Brush ^ value); };
Brush GlyphBrush();

void GlyphBrush(Brush value);
public Brush GlyphBrush { get; set; }
var brush = treeViewItem.glyphBrush;
treeViewItem.glyphBrush = brush;
Public Property GlyphBrush As Brush

Property Value

The Brush used to paint node glyphs on a TreeView.

Applies to