TreeViewItem.GlyphBrush 属性

定义

获取或设置用于在 TreeView 上绘制节点标志符号的 Brush。

适用于 UWP 的等效 WinUI 2 API:Windows 应用 SDK中适用于 WinUI 的 Microsoft.UI.Xaml.Controls.TreeViewItem.GlyphBrush (,请参阅Windows 应用 SDK命名空间) 。

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

属性值

用于在 TreeView 上绘制节点标志符号的画笔。

适用于