Skip to main content

MaskAttribute.PromptChar Property

Gets a character used as the placeholder in a masked editor.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public char PromptChar { get; set; }

Property Value

Type Description
Char

A character used as the placeholder in a masked editor.

Remarks

Use the PromptChar property to specify the character which serves as the placeholder within a mask specified via the MaskAttribute.Mask property. A placeholder prompts an end-user where a value can be entered into an editor.

See Also