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

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool MaskShowPlaceHolders { get; set; }

Property Value

Type Description
Boolean

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

To learn more, see Mask Type: Numeric.

See Also