Dela via


UserActivityVisualElements.DisplayText Property

Definition

Gets and sets the display text that is used for the details tile text for this UserActivity.

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

void DisplayText(winrt::hstring value);
public string DisplayText { get; set; }
var string = userActivityVisualElements.displayText;
userActivityVisualElements.displayText = string;
Public Property DisplayText As String

Property Value

String

Platform::String

winrt::hstring

The display text.

Applies to