Back to Devexpress

GridDataColumnFilterMenuTemplateContext.FilterCriteria Property

blazor-devexpress-dot-blazor-dot-griddatacolumnfiltermenutemplatecontext-5f820459.md

latest2.1 KB
Original Source

GridDataColumnFilterMenuTemplateContext.FilterCriteria Property

Specifies the filter criteria applied to a data column.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public CriteriaOperator FilterCriteria { get; set; }

Property Value

TypeDescription
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 DxGridDataColumn.FilterMenuTemplate property description for additional information and an example.

Limitations

When you restore a grid’s layout, the Grid component determines the filter criteria applied to each column based on the GridPersistentLayout.FilterCriteria property value. The component cannot determine a column’s criteria operator if it includes complex operands (AggregateOperand or JoinOperand). In this case, the Grid excludes complex operands from the column’s criteria operator, and the FilterCriteria property value may differ from the actual filter applied to the column.

See Also

GridDataColumnFilterMenuTemplateContext Class

GridDataColumnFilterMenuTemplateContext Members

DevExpress.Blazor Namespace