Back to Devexpress

ASPxDateEdit.UseMaskBehavior Property

aspnet-devexpress-dot-web-dot-aspxdateedit-631e7445.md

latest1.6 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(false)]
public bool UseMaskBehavior { get; set; }
vb
<DefaultValue(False)>
Public Property UseMaskBehavior As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

|

Remarks

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

aspx
<dx:ASPxDateEdit ID="dateEdit" runat="server" Width="150" EditFormat="Custom" UseMaskBehavior="true" />

Online Demo

Masked Input

See Also

UseMaskBehavior

Date Editor

ASPxDateEdit Class

ASPxDateEdit Members

DevExpress.Web Namespace