Skip to main content
A newer version of this page is available. .
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.v20.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:

Show 15 property paths
Library Object Type Path to ShowHints
ASP.NET Controls and MVC Extensions ASPxButtonEdit
.MaskSettings .ShowHints
ASPxTextBox
.MaskSettings .ShowHints
ButtonEditProperties
.MaskSettings .ShowHints
RibbonTextBoxProperties
.MaskSettings .ShowHints
TextBoxProperties
.MaskSettings .ShowHints
ASP.NET Bootstrap Controls BootstrapButtonEdit
.MaskSettings .ShowHints
BootstrapButtonEditProperties
.MaskSettings .ShowHints
BootstrapTextBox
.MaskSettings .ShowHints
BootstrapTextBoxProperties
.MaskSettings .ShowHints
ASP.NET MVC Extensions MVCxButtonEdit
.MaskSettings .ShowHints
MVCxButtonEditProperties
.MaskSettings .ShowHints
MVCxColumnButtonEditProperties
.MaskSettings .ShowHints
MVCxColumnTextBoxProperties
.MaskSettings .ShowHints
MVCxTextBox
.MaskSettings .ShowHints
MVCxTextBoxProperties
.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:

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

Concepts

Online Demos

See Also