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.DefaultTimeFormat Property

Specifies the format parameter for a newly created TIME field.

Namespace: DevExpress.Web.ASPxRichEdit

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

Declaration

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

Property Value

Type Default Description
String

String.Empty

The time format.

Property Paths

You can access this nested property as listed below:

Object Type Path to DefaultTimeFormat
ASPxRichEditSettings
.Fields.DefaultTimeFormat

Remarks

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

Use the DefaultTimeFormat 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