TaskDialogPage.EnableLinks 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 a value that specifies whether the task dialog should interpret strings in the form <a href="target">link Text</a>
as hyperlink when specified in the Text, Text, or Text properties.
When the user clicks on such a link, the LinkClicked event is raised, containing the value of the target
attribute.
public:
property bool EnableLinks { bool get(); void set(bool value); };
public bool EnableLinks { get; set; }
member this.EnableLinks : bool with get, set
Public Property EnableLinks As Boolean
Property Value
true
to enable links; otherwise, false
.
The default value is false
.
Remarks
The Task Dialog will not actually execute any links. Link execution must be handled in the LinkClicked event.
Note: Enabling this setting causes the "&"
character to be interpreted as a prefix for an access key character (mnemonic) if at least one link is used. To show a literal "&"
character, it must be escaped as "&&"
.
When you enable this setting and you want to display text without interpreting links, you must replace the strings "<a"
and "<A"
with something like "<\u200Ba"
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om