Skip to main content
Tab

ASPxGridViewContextMenuItemVisibilityEventArgs.SetEnabled(GridViewContextMenuItem, GridViewColumn, Boolean) Method

In This Article

Allows you to set the availability of a particular item based on the right-clicked column.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

public void SetEnabled(
    GridViewContextMenuItem item,
    GridViewColumn column,
    bool enabled
)

#Parameters

Name Type Description
item GridViewContextMenuItem

A GridViewContextMenuItem object that is the processed item.

column GridViewColumn

A GridViewColumn object that is the right-clicked column.

enabled Boolean

true to enable the item; false to disable it.

See Also