Skip to main content
A newer version of this page is available. .

BaseContainerValidateEditorEventArgs Class

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

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v18.1.dll

Declaration

public class BaseContainerValidateEditorEventArgs :
    EventArgs

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the BaseContainerValidateEditorEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
EventArgs
BaseContainerValidateEditorEventArgs
See Also