Skip to main content

MVCxMenuItemCollection.IndexOf(MVCxMenuItem) Method

Searches for the specified menu item object and returns the zero-based index of the first occurrence within the menu item collection.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

NuGet Package: DevExpress.Web.Mvc5

#Declaration

public int IndexOf(
    MVCxMenuItem item
)

#Parameters

Name Type
item MVCxMenuItem

#Returns

Type
Int32
See Also