Skip to main content
.NET Framework 4.5.2+

ValidateObjectEventArgs(Object, Boolean) Constructor

Creates and initializes a new instance of the ValidateObjectEventArgs class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ValidateObjectEventArgs(
    object obj,
    bool valid
)

Parameters

Name Type Description
obj Object

An object that must be validated. This object is used to initialize the ObjectManipulatingEventArgs.Object property.

valid Boolean

A Boolean value that specifies whether the object being checked is valid. This value is used to initialize the ValidateObjectEventArgs.Valid property.

Remarks

Since the ListEditor.ValidateObject event is automatically raised by a ListEditor, you do not need to instantiate the ValidateObjectEventArgs class.

See Also