Skip to main content
Tab

ASPxGridBase.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

Assembly: DevExpress.Web.v24.2.dll

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.

See Also