Back to Devexpress

BaseContainerValidateEditorEventArgs Class

windowsforms-devexpress-dot-xtraeditors-dot-controls-47230352.md

latest2.6 KB
Original Source

BaseContainerValidateEditorEventArgs Class

Provides data for events that allow you to validate cell values.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

BaseContainerValidateEditorEventArgs is the data class for the following events:

Remarks

Container controls provide events that enable you to validate cell values. Such events fire when a cell editor is about to lose focus (is about to be closed). You can handle them to specify whether the entered value is valid. If not, you can either leave focus within the editor or modify the cell value manually. Refer to a container control’s ValidatingEditor event description for additional information.

Properties, provided by the BaseContainerValidateEditorEventArgs class, enable you to obtain or change the edited value, to specify whether the editor can be closed and to specify the error description text displayed if the entered value is invalid and the editor remains open.

Inheritance

Object EventArgs BaseContainerValidateEditorEventArgs EditFormValidateEditorEventArgs

See Also

BaseContainerValidateEditorEventArgs Members

DevExpress.XtraEditors.Controls Namespace