PersonPicture.BadgeGlyph 屬性

定義

取得或設定要顯示在徽章上的 Segoe MDL2 Assets 字型字元。

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.PersonPicture.BadgeGlyph (Windows 應用程式 SDK 中的 WinUI,請參閱Windows 應用程式 SDK命名空間) 。

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

void BadgeGlyph(winrt::hstring value);
public string BadgeGlyph { get; set; }
var string = personPicture.badgeGlyph;
personPicture.badgeGlyph = string;
Public Property BadgeGlyph As String
<PersonPicture BadgeGlyph="characterCode"/>

屬性值

String

Platform::String

winrt::hstring

徽章字元的十六進位字元碼。

適用於