Skip to main content
All docs
V23.2

ASPxRichEditFieldsSettings.DefaultTimeFormat Property

Specifies the format parameter for a newly created TIME field.

Namespace: DevExpress.Web.ASPxRichEdit

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

NuGet Package: DevExpress.Web.Office

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