Tab
A newer version of this page is available. Switch to the current version.

DateEditProperties.EditFormat Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

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

Property Value

Type Default Description
EditFormat

Date

A EditFormat enumeration value that specifies the edit format.

Remarks

Use the EditFormat property to control how a date editor's edited date-time value is represented within the editor's edit box. For display and edit purposes, the edited value can be formatted as a date (EditFormat.Date), as a date with time (EditFormat.DateTime) or a custom format can be provided (EditFormat.Custom).

NOTE

The EditFormat property synchronizes its value with the editor's ASPxDateEdit.EditFormat property.

See Also