Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Events")]
public event ConvertEditValueEventHandler FormatEditValue

#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