ContentLink.Invoked Event
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.
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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro