A newer version of this page is available. Switch to the current version.

FilterEditorControl.QueryConditionOperations Event

Allows you to prohibit users from removing conditions.

Namespace: DevExpress.Xpf.Core.FilteringUI

Assembly: DevExpress.Xpf.Grid.v19.1.dll


public event EventHandler<QueryConditionOperationsEventArgs> QueryConditionOperations

Event Data

The QueryConditionOperations event's data class is QueryConditionOperationsEventArgs. The following properties provide information specific to this event:

Property Description
AllowRemoveCondition Gets or sets whether to allow users to remove conditions.
FieldName Gets a name of the field.
Filter Gets the current filter criteria specified in the FilterEditorControl.



Demo: Filter Editor - Prohibit Condition Operations

Requires installation of WPF Subscription. Download

Use the QueryConditionOperations event to prohibit users from removing conditions:

<dxg:TableView x:Name="view">
            <dxfui:FilterEditorControl QueryConditionOperations="OnQueryConditionOperations" />
void OnQueryConditionOperations(object sender, QueryConditionOperationsEventArgs e) {
    e.AllowRemoveCondition = false;
See Also