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.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
public event FilterControlOperationVisibilityEventHandler FilterControlOperationVisibility
Event Data
The FilterControlOperationVisibility event's data class is FilterControlOperationVisibilityEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
CustomFunctionName | Gets a custom filter function name. |
FunctionType | Gets a function-based comparison operator type. |
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.