Version

GetItemActualIndex Method

Gets the actual index of an item from the items collection
Syntax
'Declaration
 
Protected Function GetItemActualIndex( _
   ByVal oItemsCollection As System.Object, _
   ByVal menuItem As Infragistics.Controls.Menus.XamMenuItem _
) As System.Integer
protected System.int GetItemActualIndex( 
   System.object oItemsCollection,
   Infragistics.Controls.Menus.XamMenuItem menuItem
)
protected: System.int GetItemActualIndex( 
   System.Object* oItemsCollection,
   Infragistics.Controls.Menus.XamMenuItem* menuItem
) 

Parameters

oItemsCollection
Collection of items which can be either ItemCollection or UIElementCollection
menuItem
Menu item whose actual index is needed

Return Value

Returns the actual index of an item from the items collection
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also