Back to Devexpress

DxMaskedInput<T> Members

blazor-devexpress-dot-blazor-dot-dxmaskedinput-1-dot-underscore-members.md

latest7.5 KB
Original Source

DxMaskedInput<T> Members

A text editor supports text, numeric, date-time, and regular expression masks.

Constructors

NameDescription
DxMaskedInput()Initializes a new instance of the DxMaskedInput<T> class.

Properties

NameDescription
AttributesSpecifies a collection of standard HTML attributes applied to the editor. Inherited from DxInputDataEditorBase<T>.
BindValueModeSpecifies when to update the Masked Input editor’s value.
ButtonsAllows you to add command buttons to the Masked Input.
ClearButtonDisplayModeSpecifies whether an input editor displays the Clear button when it is not empty. Inherited from DxInputDataEditorBase<T>.
CssClassAssigns a CSS class to the editor. Inherited from DxDataEditor<T>.
DisplayFormatSpecifies the pattern used to format the Masked Input’s display value when the editor is not focused.
EnabledSpecifies whether an editor is enabled. Inherited from DxDataEditor<T>.
IdSpecifies the component’s unique identifier. Inherited from DxInputDataEditorBase<T>.
InputCssClassAssigns a CSS class to the editor’s input. Inherited from DxInputDataEditorBase<T>.
InputDelaySpecifies a delay between user changes and the actual value update. Applied for the BindValueMode.OnDelayedInput mode only.
InputIdSpecifies a unique identifier (ID) of an editor’s input element. Inherited from DxInputDataEditorBase<T>.
MaskSpecifies a mask pattern.
MaskModeSpecifies a mask mode.
NullTextSpecifies the editor’s prompt text when the editor’s value is null. Inherited from DxInputDataEditorBase<T>.
ReadOnlySpecifies whether read-only mode is active. Inherited from DxDataEditor<T>.
ShowValidationIconSpecifies whether an editor shows validation icons. Inherited from DxInputDataEditorBase<T>.
ShowValidationSuccessStateSpecifies whether the editor indicates successful validation. When an input value is valid, the editor displays a green outline and can show a success icon. Inherited from DxDataEditor<T>.
SizeModeSpecifies an editor size. Inherited from DxDataEditor<T>.
ValidationEnabledSpecifies whether the editor validates user input. Inherited from DxDataEditor<T>.
ValueSpecifies the Masked Input value.
ValueExpressionSpecifies a lambda expression that identifies the Value property’s bound value when the Masked Input is placed in the EditForm.

Methods

NameDescription
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.
FocusAsync()Moves focus to the component’s input element. Inherited from DxInputDataEditorBase<T>.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

Events

NameDescription
TextChangedFires when a text editor’s content is changed.
ValueChangedFires after the Masked Input’s value changed.
ValueChangingFires when the Masked Input’s value is being modified. Use this event to validate/cancel user input.

See Also

DxMaskedInput<T> Class

DevExpress.Blazor Namespace