Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ValidateObjectEventArgs(Object, Boolean) Constructor

Creates and initializes a new instance of the ValidateObjectEventArgs class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.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