Back to Devexpress

BaseEdit.ParseEditValue Event

windowsforms-devexpress-dot-xtraeditors-dot-baseedit-471ca6a4.md

latest2.6 KB
Original Source

BaseEdit.ParseEditValue Event

Converts an input value (the one that is entered by an end-user or assigned in code) to the value to be stored by the editor.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public event ConvertEditValueEventHandler ParseEditValue
vb
<DXCategory("Events")>
Public Event ParseEditValue As ConvertEditValueEventHandler

Event Data

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

PropertyDescription
HandledGets or sets a value specifying whether default edit value conversion/formatting is required.
ValueGets or sets either the edit or the display value of an editor.

Remarks

The editor’s ParseEditValue event is equivalent to the RepositoryItem.ParseEditValue event available using the BaseEdit.Properties object, i.e., adding/removing an event handler for the current event will affect the RepositoryItem.ParseEditValue event.

Refer to the RepositoryItem.ParseEditValue topic for detailed information.

See Also

ParseEditValue

FormatEditValue

Format and Parse Editor Values

BaseEdit Class

BaseEdit Members

DevExpress.XtraEditors Namespace