ContentLink.Invoked Ereignis

Definition

Tritt auf, wenn die Benutzerinteraktion den Link aktiviert.

// 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) 

Ereignistyp

Hinweise

Wichtig

Diese API unterstützt Inhaltslinks. Die Windows-Features, die Inhaltsverknüpfungen ermöglichen, sind in Windows-Versionen nach Windows 10, Version 1903, nicht mehr verfügbar. Inhaltsverknüpfungen für XAML-Textsteuerelemente funktionieren in Windows-Versionen nach Version 1903 nicht mehr.

Gilt für: