Returns position of a menu item in the collection.

Namespace: DayPilot.Web.Mvc
Assembly: DayPilot.Web.Mvc (in DayPilot.Web.Mvc.dll) Version: 8.0.5796.0 (8.0.5796.0)

Syntax

C#
public int IndexOf(
	MenuItem value
)
Visual Basic
Public Function IndexOf ( _
	value As MenuItem _
) As Integer
Visual C++
public:
int IndexOf(
	MenuItem^ value
)

Parameters

value
Type: DayPilot.Web.Mvc..::..MenuItem
Menu item to be found.

Return Value

Menu item position (-1 if the menu item is not in the collection).

See Also