Skip to main content

ConvertEditValueEventArgs.Handled Property

Gets or sets a value specifying whether default edit value conversion/formatting is required.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v22.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public bool Handled { get; set; }

Property Value

Type Description
Boolean

true to prohibit default edit value conversion/formatting; otherwise, false.

Remarks

Events used to convert and format the edit value (RepositoryItem.ParseEditValue and RepositoryItem.FormatEditValue) fire when the end-user accepts input. The Handled property specifies whether default conversion/formatting should be performed. By default, this property value is false. Hence, you must set the Handled property value to true when it is necessary to override default edit value conversion/formatting.

Note: if the Handled property value is false and the ConvertEditValueEventArgs.Value property has been modified, the default formatting/parsing algorithm will be applied to the value specified by the ConvertEditValueEventArgs.Value property.

See Also