Dela via


ContentLinkInfo.DisplayText Property

Definition

Gets or sets the text to display for the link.

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 = contentLinkInfo.displayText;
contentLinkInfo.displayText = string;
Public Property DisplayText As String

Property Value

String

Platform::String

winrt::hstring

The text to display for the link.

Remarks

Important

This API supports content links. The Windows features that enable content links are not available in versions of Windows after Windows 10 version 1903. Content links for XAML text controls will not function in versions of Windows later than version 1903.

Applies to