Skip to main content

TextEditSettings.MaskShowPlaceHolders Property

Gets or sets whether placeholders are displayed in a masked editor, for the RegEx mask type. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v21.2.dll


public bool MaskShowPlaceHolders { get; set; }

Property Value

Type Description

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

Property Paths

You can access this nested property as listed below:

Object Type Path to MaskShowPlaceHolders


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 TextEditSettings.MaskPlaceHolder property.

To learn more, see Mask Type: Numeric.

See Also