PersonPicture.DisplayName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The contact's display name.