Back to Devexpress

MaskProperties Members

windowsforms-devexpress-dot-xtraeditors-dot-mask-dot-maskproperties-dot-underscore-members.md

latest6.4 KB
Original Source

MaskProperties Members

Contains settings that affect the functionality of an editor’s mask.

Constructors

NameDescription
MaskProperties()Initializes a new instance of the MaskProperties class with default settings.
MaskProperties(MaskProperties)Initializes a new instance of the MaskProperties class with settings from the specified MaskData object.

Properties

NameDescription
AutoCompleteGets or sets the automatic completion mode used by the editor in the RegEx mask mode.
BeepOnErrorGets or sets whether an editor makes a beep sound when an end-user tries to enter an invalid character.
BlankObsolete. Gets or sets a character representing a placeholder within a masked editor.
CultureGets or sets the culture whose settings are used by masks.
EditMaskGets or sets a mask expression.
IgnoreMaskBlankFor the Simple , Regular and RegEx mask types this property gets or sets whether an editor can lose focus when a value hasn’t been entered.
MaskTypeGets or sets the mask type.
PlaceHolderFor the Simple , Regular and RegEx mask types this property gets or sets the character used as the placeholder in a masked editor.
SaveLiteralFor the Simple and Regular mask types this property gets or sets whether constantly displayed mask characters (literals) are included in an editor’s value.
ShowPlaceHoldersFor the RegEx mask type this property gets or sets whether placeholders are displayed in a masked editor.
UseMaskAsDisplayFormatGets or sets whether to use mask settings to format the editor’s display text when the editor is not focused.

Methods

NameDescription
Assign(MaskProperties)Copies the settings from the specified MaskProperties object to the current object.
BeginUpdate()Locks the MaskProperties object by preventing visual updates until the EndUpdate method is called.
CreateDefaultMaskManager()Creates the default mask manager.
EndUpdate()Unlocks the MaskProperties object after a call to the BeginUpdate method and causes an immediate visual update.
Equals(MaskProperties)
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the current object has the same settings as the specified object.
GetHashCode()Gets the hash code (a number) that corresponds to the value of the current 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 the text representation of the current object.

Events

NameDescription
AfterChangeOccurs after a setting of the current MaskProperties object has been changed.
BeforeChangeOccurs when a setting of the current MaskProperties object is about to be changed.
SettingsPropertyChanged

See Also

MaskProperties Class

DevExpress.XtraEditors.Mask Namespace