MaskProperties Members
Contains settings that affect the functionality of an editor’s mask.Constructors
Name | Description |
---|---|
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
Name | Description |
---|---|
AutoComplete | Gets or sets the automatic completion mode used by the editor in the RegEx mask mode. |
BeepOnError | Gets or sets whether an editor makes a beep sound when an end-user tries to enter an invalid character. |
Blank | Obsolete. Gets or sets a character representing a placeholder within a masked editor. |
Culture | Gets or sets the culture whose settings are used by masks. |
EditMask | Gets or sets a mask expression. |
IgnoreMaskBlank | For 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. |
MaskType | Gets or sets the mask type. |
PlaceHolder | For the Simple, Regular and RegEx mask types this property gets or sets the character used as the placeholder in a masked editor. |
SaveLiteral | For the Simple and Regular mask types this property gets or sets whether constantly displayed mask characters (literals) are included in an editor’s value. |
ShowPlaceHolders | For the RegEx mask type this property gets or sets whether placeholders are displayed in a masked editor. |
UseMaskAsDisplayFormat | Gets or sets whether to use mask settings to format the editor’s display text when the editor is not focused. |
Methods
Name | Description |
---|---|
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) static | Determines 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() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns the text representation of the current object. |
Events
Name | Description |
---|---|
AfterChange | Occurs after a setting of the current MaskProperties object has been changed. |
BeforeChange | Occurs when a setting of the current MaskProperties object is about to be changed. |
SettingsPropertyChanged |
See Also