TreeListDataColumnFilterMenuTemplateContext.FilterCriteria Property
Specifies the filter criteria applied to a data column.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public CriteriaOperator FilterCriteria { get; set; }
Property Value
Type | Description |
---|---|
CriteriaOperator | The filter criteria. |
Remarks
The FilterMenuTemplate and DataColumnFilterMenuTemplate properties allow you to specify custom content for the column filter menu. The template’s context
parameter contains the FilterCriteria
property. Use this property to specify the filter criteria applied to the column.
Refer to the following topic for more information and an example: Column Filter Menu in Blazor TreeList.
Limitations
When you restore a TreeList layout, the TreeList component determines the filter criteria applied to each column based on the TreeListPersistentLayout.FilterCriteria property value. The component cannot determine a column’s criteria operator if it includes complex operands (AggregateOperand or JoinOperand). In this case, the TreeList excludes complex operands from the column’s criteria operator, and the FilterCriteria
property value may differ from the actual filter applied to the column.