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

Declaration

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

Property Value

Type Default Description
Boolean

true

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