Skip to main content
A newer version of this page is available. .
Tab

ASPxDateEdit.UseMaskBehavior Property

Gets or sets a value that specifies whether the mask behavior is applied to the date editor input.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

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

Property Value

Type Default Description
Boolean **false**

true if the mask behavior is enabled for the editor input; otherwise, false.

Remarks

This property is a wrapper of the DateEditProperties.UseMaskBehavior property.

Example

The following section of the Client-side Masked Input online demo illustrates how to set the mask for the ASPxDateEdit.

<dxe:ASPxDateEdit ID="dateEdit" runat="server" Width="150" EditFormat="Custom" 
UseMaskBehavior="true" />
See Also