Skip to main content
Tab

ASPxDateEdit.EditFormat Property

Gets or sets the edit format for a date editor’s value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(EditFormat.Date)]
public EditFormat EditFormat { get; set; }

Property Value

Type Default Description
EditFormat Date

A EditFormat enumeration value that specifies the edit format.

Available values:

Name Description
Date

The edited date is represented using a format pattern for a short date value (which is associated with the ‘d’ format character).

DateTime

The edited date is represented using a format pattern for a short date and short time value (which is associated with the ‘g’ format character).

Time

The edited date is represented using a format pattern for a short time value (which is associated with the ‘t’ format character).

Custom

The edited date is represented using a custom format pattern specified via the ASPxDateEdit.EditFormatString (DateEditProperties.EditFormatString) property.

Remarks

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

See Also