ASPxPivotGrid.FilterControlOperationVisibility Event

Enables you to dynamically hide operation items (such as the Equals, Contains, etc.) of the Filter Control's operation dropdown menu.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v19.2.dll

Declaration

public event FilterControlOperationVisibilityEventHandler FilterControlOperationVisibility
Public Event FilterControlOperationVisibility As FilterControlOperationVisibilityEventHandler

Event Data

The FilterControlOperationVisibility event handler receives an argument of the FilterControlOperationVisibilityEventArgs type. The following properties provide information specific to this event.

Property Description
Operation Gets the comparison operator type.
PropertyInfo Gets the filterable property of the filter expression.
Visible Gets or sets a value specifying whether the filter operation is visible.

Remarks

The FilterControlOperationVisibility event is raised for each comparison operator, and allows you to dynamically control its visibility.

The event parameter's FilterControlOperationVisibilityEventArgs.PropertyInfo and the FilterControlOperationVisibilityEventArgs.Operation properties identify the filterable property (the column being filtered) and its operations. To specify the operator's visibility, use the FilterControlOperationVisibilityEventArgs.Visible property.

See Also