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.v18.2.dll
Declaration
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:
Library | Object Type | Path to ShowHints |
---|---|---|
ASP.NET Bootstrap Controls | BootstrapButtonEdit |
|
BootstrapButtonEditProperties |
|
|
BootstrapTextBox |
|
|
BootstrapTextBoxProperties |
|
|
ASP.NET Web Forms Controls | ASPxButtonEdit |
|
ASPxTextBox |
|
|
ButtonEditProperties |
|
|
MVCxButtonEdit |
|
|
MVCxButtonEditProperties |
|
|
MVCxColumnButtonEditProperties |
|
|
MVCxColumnTextBoxProperties |
|
|
MVCxTextBox |
|
|
MVCxTextBoxProperties |
|
|
RibbonTextBoxProperties |
|
|
TextBoxProperties |
|
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.
Example
WebForms:
<dx:ASPxTextBox ID="txtPromoCode" runat="server" >
<MaskSettings ShowHints="true" Mask="<HOME|*BUSINESS>->aaaa-aaaa" />
</dx:ASPxTextBox>
Concepts
Online Demos
See Also