Skip to main content

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.v23.1.dll

NuGet Package: DevExpress.Win.Navigation


public virtual bool ShowPlaceHolders { get; set; }

Property Value

Type Default Description
Boolean true

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


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