Returns position of a menu item in the collection.

Namespace:  DayPilot.Web.Ui
Assembly:  DayPilot (in DayPilot.dll) Version: 5.8.1956.0 (5.8.1956.0)

Syntax

C#
public int IndexOf(
	MenuItem value
)
Visual Basic (Declaration)
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