Skip to main content

TextEditProperties.DisplayFormatInEditMode Property

Gets or sets a value specifying whether a format pattern defined via the EditPropertiesBase.DisplayFormatString property should be applied to the editor value displayed in the edit mode of a complex data control (e.g. ASPxGridView).

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public virtual bool DisplayFormatInEditMode { get; set; }

Property Value

Type Default Description
Boolean false

true, to apply a format pattern to the editor value in edit mode; otherwise, false.


When an editor is used within a complex data control (such as ASPxGridView or ASPxTreeList) to display and edit column data of a specific type, the EditPropertiesBase.DisplayFormatString property can be used to specify a format pattern representing the editor’s value in a column while the data control is in browse mode. You can also apply this format to the value displayed within the editor’s input box when the data control is in edit mode. For this purpose, enable the DisplayFormatInEditMode property.

The DisplayFormatInEditMode property is not in effect when the editor is focused. To apply the format to a focused editor, use masks instead.


The DisplayFormatInEditMode property is in effect for built-in column editors within a complex data control only.

See Also