Dela via


PersonPicture.BadgeGlyph Property

Definition

Gets or sets a Segoe MDL2 Assets font glyph to display on the badge.

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

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"/>

Property Value

String

Platform::String

winrt::hstring

The hexadecimal character code for the badge glyph.

Applies to