Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

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

See Also