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
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