All docs
V21.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxRichEditFieldsSettings.DefaultDateFormat Property

Specifies the format parameter for a newly created DATE field.

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v21.2.dll

Declaration

[DefaultValue("")]
public string DefaultDateFormat { get; set; }

Property Value

Type Default Description
String

String.Empty

The date format.

Property Paths

You can access this nested property as listed below:

Object Type Path to DefaultDateFormat
ASPxRichEditSettings
.Fields.DefaultDateFormat

Remarks

Users can select the Mail Merge | Create Field | DATE command to insert the DATE field.

Use the DefaultDateFormat property to specify the default format for the inserted field.

<dx:ASPxRichEdit ID="DemoRichEdit" runat="server" Width="100%" Height="700px">
    <Settings>
        <Fields DefaultDateFormat="dddd, MMMM dd, yyyy" DefaultTimeFormat="'Current time is ' h:mm am/pm" />
    </Settings>
</dx:ASPxRichEdit>
See Also