Back to Devexpress

ConvertEditValueEventArgs Class

windowsforms-devexpress-dot-xtraeditors-dot-controls-6681f954.md

latest3.7 KB
Original Source

ConvertEditValueEventArgs Class

Provides data for the RepositoryItem.FormatEditValue and RepositoryItem.ParseEditValue events.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class ConvertEditValueEventArgs :
    EventArgs
vb
Public Class ConvertEditValueEventArgs
    Inherits EventArgs

ConvertEditValueEventArgs is the data class for the following events:

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.

Inheritance

Object EventArgs ConvertEditValueEventArgs

See Also

ConvertEditValueEventArgs Members

FormatEditValue

ParseEditValue

DevExpress.XtraEditors.Controls Namespace