RichEditBox.ContentLinkInvoked Kejadian

Definisi

Terjadi ketika tautan diaktifkan oleh interaksi pengguna.

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

Jenis Acara

Persyaratan Windows

Rangkaian perangkat
Windows 10, version 1803 (diperkenalkan dalam 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v6.0)

Keterangan

Penting

API ini mendukung tautan konten. Fitur Windows yang mengaktifkan tautan konten tidak tersedia di versi Windows setelah Windows 10 versi 1903. Tautan konten untuk kontrol teks XAML tidak akan berfungsi di versi Windows yang lebih baru dari versi 1903.

Berlaku untuk