Skip to main content
Tab

MaskSettings.ShowHints Property

Gets or sets a value that specifies whether a mask hint can be displayed when an end-user enters a value into a masked editor.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool ShowHints { get; set; }

Property Value

Type Default Description
Boolean false

true if an editor’s mask hint can be displayed; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowHints
ASPxButtonEdit
.MaskSettings .ShowHints
ASPxTextBox
.MaskSettings .ShowHints
ButtonEditProperties
.MaskSettings .ShowHints
TextBoxProperties
.MaskSettings .ShowHints

Remarks

An editor’s mask hint can be displayed during user input, if the editor’s ShowHints property is true and a mask of the range or enumeration type is defined via the MaskSettings.Mask property.

A mask hint is displayed when input focus is positioned within a specific (range or enumeration) mask section, providing end-users with information on the available value options.

MaskSettings_ShowHints_1.png

MaskSettings_ShowHints_2.png

Example

Web Forms:

MaskSettings - ShowHints Property

<dx:ASPxTextBox ID="txtPromoCode" runat="server" >
    <MaskSettings ShowHints="true" Mask="<HOME|*BUSINESS>->aaaa-aaaa" />
</dx:ASPxTextBox>

Concepts

Online Demos

See Also