blazor-devexpress-dot-blazor-dot-dxfilterbuilder-044653e9.md
Specifies which logical operators appear in the UI.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[Parameter]
public FilterBuilderGroupOperatorType GroupOperatorTypes { get; set; }
| Type | Description |
|---|---|
| FilterBuilderGroupOperatorType |
A collection of FilterBuilderGroupOperatorType values.
|
Available values:
| Name | Description |
|---|---|
| And |
Combines all filter conditions with the AND logical operator.
| | Or |
Combines all filter conditions with the OR logical operator.
| | NotAnd |
Combines all filter conditions with the AND operator, and then applies NOT to the result.
| | NotOr |
Combines all filter conditions with the OR operator, and then applies NOT to the result.
|
The DevExpress Blazor Filter Builder allows users to combine filter conditions with the following logical operators:
AndCombines all filter conditions with the AND logical operator.OrCombines all filter conditions with the OR logical operator.NotAndCombines all filter conditions with the AND operator, and then applies NOT to the result.NotOrCombines all filter conditions with the OR operator, and then applies NOT to the result.
Use the GroupOperatorType property to limit the list of available logical operators.
<DxFilterBuilder GroupOperatorTypes="@(FilterBuilderGroupOperatorType.And |
FilterBuilderGroupOperatorType.Or)">
<Fields>
@* ... *@
<DxFilterBuilderField FieldName="UnitPrice" Caption="Unit Price" Type="@typeof(int)" />
<DxFilterBuilderField FieldName="UnitsInStock" Caption="Units in Stock" Type="@typeof(int)" />
<DxFilterBuilderField FieldName="Discontinued" Type="@typeof(bool)" />
</Fields>
</DxFilterBuilder>
Run Demo: Filter Builder - Operator Customization
See Also