Jaa


ContentLink.Invoked Event

Definition

Occurs when user interaction activates the link.

// Register
event_token Invoked(TypedEventHandler<ContentLink, ContentLinkInvokedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ContentLink::Invoked_revoker Invoked(auto_revoke_t, TypedEventHandler<ContentLink, ContentLinkInvokedEventArgs const&> const& handler) const;
public event TypedEventHandler<ContentLink,ContentLinkInvokedEventArgs> Invoked;
function onInvoked(eventArgs) { /* Your code */ }
contentLink.addEventListener("invoked", onInvoked);
contentLink.removeEventListener("invoked", onInvoked);
- or -
contentLink.oninvoked = onInvoked;
Public Custom Event Invoked As TypedEventHandler(Of ContentLink, ContentLinkInvokedEventArgs) 

Event Type

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