MaskSettings.PromptChar Property
In This Article
Gets or sets the character used as the placeholder in a masked editor.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Char | '_' | A character used as the placeholder in a masked editor. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Prompt |
---|---|
ASPx |
|
ASPx |
|
Button |
|
Text |
|
#Remarks
Use the PromptChar property to specify the character which serves as a placeholder within a mask specified via the MaskSettings.Mask property. A placeholder prompts an end-user where a value can be entered into an editor.
#Example
Web Forms:
html
<dx:ASPxTextBox ID="txtZip" runat="server">
<MaskSettings Mask="00000" PromptChar="#" />
</dx:ASPxTextBox>
#Concepts
#Online Demos
See Also