Skip to main content

MaskProperties Class

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

Namespace: DevExpress.XtraEditors.Mask

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public class MaskProperties :
    IEquatable<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.

Inheritance

Object
MaskProperties
See Also