Share via


RichEditBox.ContentLinkInvoked Event

Definition

Occurs when the link is activated by user interaction.

// Register
event_token ContentLinkInvoked(TypedEventHandler<RichEditBox, ContentLinkInvokedEventArgs const&> const& handler) const;

// Revoke with event_token
void ContentLinkInvoked(event_token const* cookie) const;

// Revoke with event_revoker
RichEditBox::ContentLinkInvoked_revoker ContentLinkInvoked(auto_revoke_t, TypedEventHandler<RichEditBox, ContentLinkInvokedEventArgs const&> const& handler) const;
public event TypedEventHandler<RichEditBox,ContentLinkInvokedEventArgs> ContentLinkInvoked;
function onContentLinkInvoked(eventArgs) { /* Your code */ }
richEditBox.addEventListener("contentlinkinvoked", onContentLinkInvoked);
richEditBox.removeEventListener("contentlinkinvoked", onContentLinkInvoked);
- or -
richEditBox.oncontentlinkinvoked = onContentLinkInvoked;
Public Custom Event ContentLinkInvoked As TypedEventHandler(Of RichEditBox, ContentLinkInvokedEventArgs) 

Event Type

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

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