Back to Devexpress

MaskProperties.ShowPlaceHolders Property

windowsforms-devexpress-dot-xtraeditors-dot-mask-dot-maskproperties-43ab2ac0.md

latest2.0 KB
Original Source

MaskProperties.ShowPlaceHolders Property

For the RegEx mask type this property gets or sets whether placeholders are displayed in a masked editor.

Namespace : DevExpress.XtraEditors.Mask

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual bool ShowPlaceHolders { get; set; }
vb
Public Overridable Property ShowPlaceHolders As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to display placeholders in a masked editor; otherwise false.

|

Remarks

This property is in effect for the MaskType.RegEx mask type. For the MaskType.Regular and MaskType.Simple mask types placeholders are always visible. For the MaskType.Numeric and MaskType.DateTime mask types placeholders are not supported.

The placeholder can be specified via the MaskProperties.PlaceHolder property.

See Also

PlaceHolder

MaskProperties Class

MaskProperties Members

DevExpress.XtraEditors.Mask Namespace