Share via


PersonPicture.DisplayName Property

Definition

Gets or sets the contact's display name.

This documentation applies to WinUI 2 for UWP (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; }
Public Property DisplayName As String
<PersonPicture DisplayName="string"/>

Property Value

String

Platform::String

winrt::hstring

The contact's display name.

Applies to