Provides data for the SftMask.InputRejected event.
Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET
Inheritance
public class InputRejectedEventArgs : System.EventArgs;
Public Class InputRejectedEventArgs
Inherits System.EventArgsThis class cannot be instantiated.
![]() | Character | Returns the rejected character, or '\0' when a deletion was rejected. |
![]() | Position | Returns the position at which the character was rejected. |
![]() | Reason | Returns why the character was rejected. |
![]() ![]() ![]() | 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_TextChanged(object sender, EventArgs e) {
DumpValues("sftMask1.TextChanged (" + sftMask1.Text + ")", e);
}
private void sftMask1_ValueChanged(object sender, EventArgs e) {
DumpValues("sftMask1.ValueChanged (" + (sftMask1.Value.HasValue ? sftMask1.Value.Value.ToString() : "none") + ")", e);
}
private void sftMask1_InputRejected(object sender, InputRejectedEventArgs e) {
DumpValues("sftMask1.InputRejected", e);
}
private void sftMask1_ValidationError(object sender, ValidationErrorEventArgs e) {
DumpValues("sftMask1.ValidationError", e);
}
Private Sub SftMask1_ValueChanged(ByVal sender As Object, ByVal e As EventArgs) Handles SftMask1.ValueChanged
Dim value As String = "none"
If SftMask1.Value.HasValue Then
value = SftMask1.Value.Value.ToString()
End If
DumpValues("SftMask1.ValueChanged (" + value + ")", e)
End Sub
Private Sub SftMask1_InputRejected(ByVal sender As Object, ByVal e As InputRejectedEventArgs) Handles SftMask1.InputRejected
DumpValues("SftMask1.InputRejected", e)
End Sub
Private Sub SftMask1_ValidationError(ByVal sender As Object, ByVal e As ValidationErrorEventArgs) Handles SftMask1.ValidationError
DumpValues("SftMask1.ValidationError", e)
End Sub
See Also Classes | SftMask/NET 3.0