Share via


FontIconSource.Glyph 속성

정의

아이콘 문자 모양을 식별하는 문자 코드를 가져오거나 설정합니다.

이 설명서는 UWP용 WinUI 2에 적용됩니다(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

적용 대상