TextControlCopyingToClipboardEventArgs TextControlCopyingToClipboardEventArgs TextControlCopyingToClipboardEventArgs TextControlCopyingToClipboardEventArgs Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Provides event data for the CopyingToClipboard event.

public : sealed class TextControlCopyingToClipboardEventArgs : ITextControlCopyingToClipboardEventArgspublic sealed class TextControlCopyingToClipboardEventArgs : ITextControlCopyingToClipboardEventArgsPublic NotInheritable Class TextControlCopyingToClipboardEventArgs Implements ITextControlCopyingToClipboardEventArgs// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Remarks

If you perform any action in the handler for a CopyingToClipboard event, set the Handled property to true; otherwise, the default copy action is performed.

Properties

Handled Handled Handled Handled

Prerelease. Gets or sets a value that marks the routed event as handled. A true value for Handled prevents most handlers along the event route from handling the same event again.

public : PlatForm::Boolean Handled { get; set; }public bool Handled { get; set; }Public ReadWrite Property Handled As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true to mark the routed event handled. false to leave the routed event unhandled, which causes the default copy action to be performed. The default is false.