PersonPicture.BadgeText Property


Gets or sets the contact text to display on the badge.

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

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

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

Property Value


The contact text to display on the badge.

Applies to