ConvertEditValueEventArgs.Value Property
Gets or sets either the edit or the display value of an editor.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v22.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
Object | An object specifying either the edit or the display value of an editor. |
Remarks
The Value property value depends on the event currently handled.
- If the RepositoryItem.FormatEditValue event is being handled, Value represents the editor’s unformatted value. Setting the Value property updates the editor’s display text.
- If the RepositoryItem.ParseEditValue event is being handled, the Value property represents the editor’s display value. Setting the Value propertyupdates the editor’s BaseEdit.EditValue property.
Note: you must set the ConvertEditValueEventArgs.Handled property value to true to override the default conversion or formatting algorithm.
See Also