Dela via


RichEditBox.ContentLinkChanged Event

Definition

Occurs when a content link is added, removed, or edited.

// Register
event_token ContentLinkChanged(TypedEventHandler<RichEditBox, ContentLinkChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RichEditBox::ContentLinkChanged_revoker ContentLinkChanged(auto_revoke_t, TypedEventHandler<RichEditBox, ContentLinkChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<RichEditBox,ContentLinkChangedEventArgs> ContentLinkChanged;
function onContentLinkChanged(eventArgs) { /* Your code */ }
richEditBox.addEventListener("contentlinkchanged", onContentLinkChanged);
richEditBox.removeEventListener("contentlinkchanged", onContentLinkChanged);
- or -
richEditBox.oncontentlinkchanged = onContentLinkChanged;
Public Custom Event ContentLinkChanged As TypedEventHandler(Of RichEditBox, ContentLinkChangedEventArgs) 

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.

This event occurs after the TextChanging event and before the TextChanged event.

Applies to