Skip to main content
A newer version of this page is available. .

DataControlBase.SearchPanelCriteriaOperatorType Property

Gets or sets the logical operator type (AND or OR). This is a dependency property.

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(CriteriaOperatorType.Or, Handler = "OnSearchRelatedPropertyChanged")]
public CriteriaOperatorType SearchPanelCriteriaOperatorType { get; set; }

Property Value

Type Description
CriteriaOperatorType

The criteria operator type (logical AND or OR).

Available values:

Name Description
And

The logical AND operator.

Or

The logical OR operator.

Remarks

Without quotation marks, words separated by the space character are treated as individual conditions (using the OR or AND logical operator). Use the SearchPanelCriteriaOperatorType property to specify the type of the logical operator.

The SearchPanelCriteriaOperatorType is not in effect when searching against specific columns. If the search criterion contains conditions for which search columns are specified, the AND logical operator is used.

To learn more, see Search Panel.

See Also