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

CollectionSourceBase.CanApplyCriteria Property

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public virtual bool CanApplyCriteria { get; }

#Property Value

Type Description
Boolean

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

#Remarks

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