Skip to main content
Tab

ASPxGridViewContextMenuItemVisibilityEventArgs.SetEnabled(GridViewContextMenuItem, Boolean) Method

Allows you to set the availability of a particular item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public void SetEnabled(
    GridViewContextMenuItem item,
    bool enabled
)

Parameters

Name Type Description
item GridViewContextMenuItem

A GridViewContextMenuItem object that is the processed item.

enabled Boolean

true to enable the item; false to disable it.

See Also