Share via


TreeViewItem.GlyphBrush 屬性

定義

取得或設定 Brush,用來在 TreeView 上繪製節點圖像。

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.TreeViewItem.GlyphBrush (for WinUI 在Windows 應用程式 SDK中,請參閱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 上繪製節點圖像的 Brush。

適用於