Dela via


TreeViewItem.CollapsedGlyph Property

Definition

Gets or sets the glyph to show for a collapsed tree node.

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

public:
 property Platform::String ^ CollapsedGlyph { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring CollapsedGlyph();

void CollapsedGlyph(winrt::hstring value);
public string CollapsedGlyph { get; set; }
var string = treeViewItem.collapsedGlyph;
treeViewItem.collapsedGlyph = string;
Public Property CollapsedGlyph As String

Property Value

String

Platform::String

winrt::hstring

The glyph to show for a collapsed tree node.

Applies to