Provides data for the SftMask.PrePaste event.
An event handler can change the text, or set Cancel to paste nothing; an empty text pastes nothing.
Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET
Inheritance
public class PrePasteEventArgs : System.ComponentModel.CancelEventArgs;
Public Class PrePasteEventArgs
Inherits System.ComponentModel.CancelEventArgsThis class cannot be instantiated.
![]() ![]() | Cancel | Gets or sets a value indicating whether the event should be canceled. |
![]() | Text | Defines the text to paste. |
![]() ![]() ![]() | Empty | Provides a value to use with events that do not have event data. |
![]() ![]() | Equals | Determines whether the specified object is equal to the current object. |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
![]() ![]() | GetHashCode | Serves as the default hash function. |
![]() ![]() | GetType | Gets the Type of the current instance. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. |
![]() ![]() ![]() | ReferenceEquals | Determines whether the specified Object instances are the same instance. |
![]() ![]() | ToString | Returns a string that represents the current object. |
private void sftMask1_DropDownOpened(object sender, DropDownEventArgs e) {
DumpValues("sftMask1.DropDownOpened", e);
}
private void sftMask1_DropDownClosed(object sender, DropDownEventArgs e) {
DumpValues("sftMask1.DropDownClosed", e);
}
private void sftMask1_PrePaste(object sender, PrePasteEventArgs e) {
DumpValues("sftMask1.PrePaste", e);
}
private void sftMask1_InputModeChanged(object sender, EventArgs e) {
DumpValues("sftMask1.InputModeChanged (" + (sftMask1.Overtype ? "overtype" : "insert") + ")", e);
}
Private Sub SftMask1_DropDownOpened(ByVal sender As Object, ByVal e As DropDownEventArgs) Handles SftMask1.DropDownOpened
DumpValues("SftMask1.DropDownOpened", e)
End Sub
Private Sub SftMask1_DropDownClosed(ByVal sender As Object, ByVal e As DropDownEventArgs) Handles SftMask1.DropDownClosed
DumpValues("SftMask1.DropDownClosed", e)
End Sub
Private Sub SftMask1_PrePaste(ByVal sender As Object, ByVal e As PrePasteEventArgs) Handles SftMask1.PrePaste
DumpValues("SftMask1.PrePaste", e)
End Sub
Private Sub SftMask1_InputModeChanged(ByVal sender As Object, ByVal e As EventArgs) Handles SftMask1.InputModeChanged
DumpValues("SftMask1.InputModeChanged (" + If(SftMask1.Overtype, "overtype", "insert") + ")", e)
End Sub
See Also Classes | SftMask/NET 3.0