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

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public bool MaskShowPlaceHolders { get; set; }

Property Value

Type Description
Boolean

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
TokenEditorBehavior
.TokenEditSettings .MaskShowPlaceHolders

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