Share via


FontIconSource.Glyph プロパティ

定義

アイコン グリフを識別する文字コードを取得または設定します。

このドキュメントは、WinUI 2 for UWP に適用されます (Windows アプリ SDKWinUI については、Windows アプリ SDK名前空間を参照してください)。

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

void Glyph(winrt::hstring value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
winrt::hstring Glyph();

void Glyph(winrt::hstring value);
public string Glyph { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
public string Glyph { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
Public Property Glyph As String
<FontIconSource Glyph="characterCode"/>

プロパティ値

String

Platform::String

winrt::hstring

アイコン グリフの 16 進文字コード。

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

適用対象