مشاركة عبر


PersonPicture.BadgeText Property

Definition

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).

public:
 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

String

Platform::String

winrt::hstring

The contact text to display on the badge.

Applies to