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.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public FilterControlOperationVisibilityEventHandler FilterControlOperationVisibility { get; set; }

Property Value

Type Description
FilterControlOperationVisibilityEventHandler

A FilterControlOperationVisibilityEventHandler delegate method allowing you to implement custom processing.

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