Skip to main content
A newer version of this page is available. .

MaskProperties Class

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

Namespace: DevExpress.XtraEditors.Mask

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public class MaskProperties

Remarks

Most text editors support masked mode. The MaskProperties class provides properties to specify the mask, mask type, and other related options. Use an editor’s RepositoryItemTextEdit.Mask property to access the MaskProperties object which provides the mask settings for the editor.

The MaskProperties.MaskType property determines the mask type, i.e., how the mask specified by the MaskProperties.EditMask property is interpreted.

At design time, you can use the Mask Editor to select a predefined mask or create your own mask and then test it in the Test Input box. Refer to the Input Mask topic for general information on the functionality of masks and links to documents that describe the syntax used by masks.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MaskProperties class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
MaskProperties
See Also