Skip to main content

TcxCustomTextEditProperties.UseDisplayFormatWhenEditing Property

Specifies if the display mode format is used for value formatting in edit mode.

Declaration

property UseDisplayFormatWhenEditing: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

The EditFormat and DisplayFormat properties control the way in which the editor displays its text when the editor is focused (in edit mode) and does not have focus (in display mode), respectively. If the EditFormat property is not specified, you can set the UseDisplayFormatWhenEditing property to True to select DisplayFormat for value formatting in edit mode. That way, you can unify the manner in which values are formatted in both modes, assigning only the DisplayFormat and UseDisplayFormatWhenEditing properties. If you assigned the EditFormat property, the DisplayFormat and UseDisplayFormatWhenEditing property values are ignored in edit mode.

The default value of the UseDisplayFormatWhenEditing property is False.

See Also