Skip to main content
.NET 6.0+

CollectionSourceBase.CanApplyCriteria Property

Returns the value that indicates whether the Collection Source’s CollectionSourceBase.Collection can be filtered.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp


public virtual bool CanApplyCriteria { get; }

Property Value

Type Description

true if the Collection Source’s collection can be filtered; otherwise false.


This property is used internally in XAF. For instance, FilterController will not activate for a View whose Collection Source’s CanApplyCriteriaproperty returns false.

When implementing a custom Collection Source, override this property to return false, if the custom Collection Source’s collection cannot be filtered.

See Also