Skip to main content

CollectionSource.IsObjectFitForCollection(Object) Method

Tries to determine whether the specified object satisfies the criteria contained in the CollectionSourceBase.Criteria dictionary.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v25.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public override bool? IsObjectFitForCollection(
    object obj
)

Parameters

Name Type Description
obj Object

An object that must be checked against the criteria contained in the Criteria dictionary.

Returns

Type Description
Nullable<Boolean>

true if the specified object satisfies the criteria contained in the Criteria dictionary; false if the object does not satisfies the criteria; null if it cannot be determined.

Remarks

This method returns a Nullable\<Boolean>-type value. It can return null if the specified object cannot be checked against the criteria contained in the Criteria dictionary.

This method is intended for internal use.

See Also