Skip to main content
.NET Framework 4.5.2+

CollectionSourceBase.CanApplyCriteria Property

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.1.dll


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