Skip to main content
All docs
V24.1

CustomMaskEventArgs Members

Contains data for the CustomMask event.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
ActionType Gets the user action.
CurrentCursorPosition Gets the cursor (caret) position before a user performs an action.
CurrentEditText Gets text displayed in the editor before a user performs an action.
CurrentHead Gets the editor’s text that precedes the cursor (caret) position or selected text.
CurrentSelectedText Gets the editor’s selected text.
CurrentSelectionAnchor Gets the selection start point before a user performs an action.
CurrentSelectionEnd Gets the position of the right-most selected character.
CurrentSelectionStart Gets the position of the left-most selected character.
CurrentTail Gets the editor’s text that follows the cursor (caret) position or selected text.
Handled Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. Inherited from RoutedEventArgs.
InsertedText Gets text a user attempts to add to the editor.
IsCanceled Gets whether the user action does not lead to the editor value change.
IsSelection Gets whether the editor contains selected text.
OriginalSource Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
ResultCursorPosition Gets the cursor (caret) position after a user performs an action.
ResultEditText Gets text displayed in the editor after a user performs an action.
ResultSelectionAnchor Gets the selection start point after a user performs an action.
RoutedEvent Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
Source Gets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.
Tag Gets the editor’s Tag property value.

Methods

Name Description
Cancel() Cancels the user action.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
InvokeEventHandler(Delegate, Object) protected When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation. Inherited from RoutedEventArgs.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnSetSource(Object) protected When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes. Inherited from RoutedEventArgs.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetResult(String, Int32, Nullable<Int32>) Sets the editor text, cursor position, and selection anchor.
SetResult(String, String) Sets the editor text and cursor position.
ToString() Gets the transcript of the user’s action in the following format: (InitialState)->UserAction->(FinalState).
See Also