Class PastingEventArgs
Event arguments for the cancellable Pasting event raised by the default Paste handler. Text is mutable so subscribers can normalize or filter the payload before the view inserts it; set Handled to true to cancel the paste.
public class PastingEventArgs : HandledEventArgs
- Inheritance
-
PastingEventArgs
- Inherited Members
Constructors
- PastingEventArgs(string)
Initializes a new PastingEventArgs.
Properties
- Text
The pasted text the view is about to insert. Already sanitized by OnSanitizingPaste(string). Subscribers may replace it with a different string to alter what gets inserted.