Back to Devexpress

CustomMaskEventArgs Members

wpf-devexpress-dot-xpf-dot-editors-dot-custommaskeventargs-dot-underscore-members.md

latest8.5 KB
Original Source

CustomMaskEventArgs Members

Contains data for the CustomMask event.

Fields

NameDescription
Empty staticProvides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

NameDescription
ActionTypeGets the user action.
CurrentCursorPositionGets the cursor (caret) position before a user performs an action.
CurrentEditTextGets text displayed in the editor before a user performs an action.
CurrentHeadGets the editor’s text that precedes the cursor (caret) position or selected text.
CurrentSelectedTextGets the editor’s selected text.
CurrentSelectionAnchorGets the selection start point before a user performs an action.
CurrentSelectionEndGets the position of the right-most selected character.
CurrentSelectionStartGets the position of the left-most selected character.
CurrentTailGets the editor’s text that follows the cursor (caret) position or selected text.
HandledGets 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.
InsertedTextGets text a user attempts to add to the editor.
IsCanceledGets whether the user action does not lead to the editor value change.
IsSelectionGets whether the editor contains selected text.
OriginalSourceGets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
ResultCursorPositionGets the cursor (caret) position after a user performs an action.
ResultEditTextGets text displayed in the editor after a user performs an action.
ResultSelectionAnchorGets the selection start point after a user performs an action.
RoutedEventGets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
SourceGets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.
TagGets the editor’s Tag property value.

Methods

NameDescription
Cancel()Cancels the user action.
Equals(Object, Object) staticDetermines 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) protectedWhen 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
OnSetSource(Object) protectedWhen 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) staticDetermines 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

CustomMaskEventArgs Class

DevExpress.Xpf.Editors Namespace