BaseEdit.FormatEditValue Event

Enables you to format the editor's value (change the editor's value when the formatting mechanism is invoked).

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Events")]
public event ConvertEditValueEventHandler FormatEditValue
<DXCategory("Events")>
Public Event FormatEditValue As ConvertEditValueEventHandler

Event Data

The FormatEditValue event's data class is ConvertEditValueEventArgs. The following properties provide information specific to this event:

Property Description
Handled Gets or sets a value specifying whether default edit value conversion/formatting is required.
Value Gets or sets either the edit or the display value of an editor.

Remarks

The editor's FormatEditValue event is equivalent to the RepositoryItem.FormatEditValue event available via the BaseEdit.Properties object, i.e., adding/removing an event handler for the current event actually affects the RepositoryItem.FormatEditValue event.

Please refer to the RepositoryItem.FormatEditValue topic for detailed information.

See Also