Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MaskProperties Class

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

Namespace: DevExpress.XtraEditors.Mask

Assembly: DevExpress.XtraEditors.v24.1.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