Skip to main content
A newer version of this page is available. .

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.v19.2.dll

Declaration

public virtual bool ShowPlaceHolders { get; set; }

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowPlaceHolders property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also