blazor-devexpress-dot-blazor-670358f2.md
Lists logical operators available in the Filter Builder.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[Flags]
public enum FilterBuilderGroupOperatorType
| 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 following properties accept/return FilterBuilderGroupOperatorType values:
Use the DxFilterBuilder.GroupOperatorTypes property to limit the list of available logical operators.
<DxFilterBuilder @bind-FilterCriteria="FilterCriteria"
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>
@* ... *@
See Also