Share via


TreeViewItem.CollapsedGlyph 屬性

定義

取得或設定要針對折疊樹狀節點顯示的字元。

public:
 property Platform::String ^ CollapsedGlyph { Platform::String ^ get(); void set(Platform::String ^ value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="\uE76C")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="\uE76C")]
winrt::hstring CollapsedGlyph();

void CollapsedGlyph(winrt::hstring value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="\uE76C")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="\uE76C")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="\uE76C")]
winrt::hstring CollapsedGlyph();

void CollapsedGlyph(winrt::hstring value);
public string CollapsedGlyph { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="\uE76C")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="\uE76C")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="\uE76C")]
public string CollapsedGlyph { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="\uE76C")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="\uE76C")] set; }
var string = treeViewItem.collapsedGlyph;
treeViewItem.collapsedGlyph = string;
Public Property CollapsedGlyph As String

屬性值

String

Platform::String

winrt::hstring

要針對折疊樹狀節點顯示的字元。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於