Back to Devexpress

ASPxDateEdit.EditFormat Property

aspnet-devexpress-dot-web-dot-aspxdateedit-35a0bed8.md

latest2.0 KB
Original Source

ASPxDateEdit.EditFormat Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(EditFormat.Date)]
public EditFormat EditFormat { get; set; }
vb
<DefaultValue(EditFormat.Date)>
Public Property EditFormat As EditFormat

Property Value

TypeDefaultDescription
EditFormatDate

A EditFormat enumeration value that specifies the edit format.

|

Available values:

NameDescription
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

Date Editor

ASPxDateEdit Class

ASPxDateEdit Members

DevExpress.Web Namespace