Back to Devexpress

TextEdit.MaskShowPlaceHolders Property

wpf-devexpress-dot-xpf-dot-editors-dot-textedit-fae9040b.md

latest1.8 KB
Original Source

TextEdit.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

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool MaskShowPlaceHolders { get; set; }
vb
Public Property MaskShowPlaceHolders As Boolean

Property Value

TypeDescription
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 TextEdit.MaskPlaceHolder property.

To learn more, see Mask Type: Numeric.

See Also

TextEdit Class

TextEdit Members

DevExpress.Xpf.Editors Namespace