Skip to main content

GridSettingsBase.FilterControlOperationVisibility Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5


public FilterControlOperationVisibilityEventHandler FilterControlOperationVisibility { get; set; }

Property Value

Type Description

A FilterControlOperationVisibilityEventHandler delegate method allowing you to implement custom processing.


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