ASPxGridViewContextMenuItemVisibilityEventArgs.SetEnabled(GridViewContextMenuItem, Int32, Boolean) Method
In This Article
Allows you to set the availability of a particular item based on the right-clicked row.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public void SetEnabled(
GridViewContextMenuItem item,
int visibleIndex,
bool enabled
)
#Parameters
Name | Type | Description |
---|---|---|
item | Grid |
A Grid |
visible |
Int32 | An integer value specifying the right-clicked row’s visible index. |
enabled | Boolean |
|
See Also