ValidateObjectEventArgs(Object, Boolean) Constructor

Creates and initializes a new instance of the ValidateObjectEventArgs class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public ValidateObjectEventArgs(
    object obj,
    bool valid
)
Public Sub New(
    obj As Object,
    valid As Boolean
)

Parameters

Type Name Description
Object obj

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

Boolean valid

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

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

See Also