CollectionSourceBase.CanApplyCriteria Property

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public virtual bool CanApplyCriteria { get; }
Public Overridable ReadOnly Property CanApplyCriteria As Boolean

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