Returns position of a menu item in the collection.
Namespace: DayPilot.Web.Ui
Assembly: DayPilot (in DayPilot.dll)
Version: 4.0.1172.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
- MenuItem
Menu item to be found.
Return Value
Menu item position (-1 if the menu item is not in the collection).
See Also
MenuItemCollection Class
DayPilot.Web.Ui Namespace