Returns position of a menu item in the collection.

Namespace: DayPilot.Web.Ui
Assembly: DayPilot (in DayPilot.dll) Version: 8.1.3443.0 (8.1.3443.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.Ui..::..MenuItem
Menu item to be found.

Return Value

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

See Also