Skip to main content
Tab

ASPxGridViewContextMenuItemVisibilityEventArgs.SetVisible(GridViewContextMenuItem, Int32, Boolean) Method

Allows you to set the visibility of a particular item based on the right-clicked row.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public void SetVisible(
    GridViewContextMenuItem item,
    int visibleIndex,
    bool visible
)

Parameters

Name Type Description
item GridViewContextMenuItem

A GridViewContextMenuItem object that is the processed item.

visibleIndex Int32

An integer value specifying the right-clicked row’s visible index.

visible Boolean

true to display the item; false to hide it.

See Also