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

DateEditProperties.EditFormatString Property

Gets or sets the pattern used to format the editor's edited value when the DateEditProperties.EditFormat propety is set to EditFormat.Custom.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue("")]
public string EditFormatString { get; set; }
<DefaultValue("")>
Public Property EditFormatString As String

Property Value

Type Default Description
String

String.Empty

A string representing the format pattern.

Remarks

When the DateEditProperties.EditFormat propety is set to EditFormat.Custom, use the EditFormatString property to specify the format pattern that will be applied to the date editor's edited value displayed within the editor's edit box.

NOTE

Display values can be formatted using the standard formatting mechanism described in MSDN. It allows you to format values using standard format patterns. Format specifiers for composing the format pattern are described in the Numeric Format Strings and Date and Time Format Strings topics in MSDN.

NOTE

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

See Also