ConvertEditValueEventArgs Class
Provides data for the RepositoryItem.FormatEditValue and RepositoryItem.ParseEditValue events.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
Remarks
The RepositoryItem.FormatEditValue and RepositoryItem.ParseEditValue events fire before the edited value is converted to its textual representation or before the edited value is accepted respectively. These events enable you to perform manual conversions of the edit value into its textual representation or the entered value into the actual edit value. Thus, the ConvertEditValueEventArgs class declares the ConvertEditValueEventArgs.Value property that specifies a custom conversion result. The ConvertEditValueEventArgs.Handled property allows you to specify whether default conversion algorithm should be used.
ConvertEditValueEventArgs objects are automatically created, initialized and passed to proper event handlers.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ConvertEditValueEventArgs class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.