Megosztás a következőn keresztül:


FontIconSource.Glyph Property

Definition

Gets or sets the character code that identifies the icon glyph.

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

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

void Glyph(winrt::hstring value);
public string Glyph { get; set; }
var string = fontIconSource.glyph;
fontIconSource.glyph = string;
Public Property Glyph As String
<FontIconSource Glyph="characterCode"/>

Property Value

String

Platform::String

winrt::hstring

The hexadecimal character code for the icon glyph.

Applies to