Share via


PersonPicture.DisplayName Property

Definition

Gets or sets the contact's display name.

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

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

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

Property Value

String

Platform::String

winrt::hstring

The contact's display name.

Applies to