Version

RetrieveChildItemOfMenuItem Method

Retrieves the child menu item from the parent menu item which is either at the specified index of the parent or matches the specified header of the child
Syntax
'Declaration
 
Protected Function RetrieveChildItemOfMenuItem( _
   ByVal owningMenuItem As Infragistics.Controls.Menus.XamMenuItem, _
   ByVal sItemHeader As System.String, _
   ByVal iItemIndex As System.Integer _
) As System.Object
protected System.object RetrieveChildItemOfMenuItem( 
   Infragistics.Controls.Menus.XamMenuItem owningMenuItem,
   System.string sItemHeader,
   System.int iItemIndex
)
protected: System.Object* RetrieveChildItemOfMenuItem( 
   Infragistics.Controls.Menus.XamMenuItem* owningMenuItem,
   System.string* sItemHeader,
   System.int iItemIndex
) 

Parameters

owningMenuItem
Parent menu item
sItemHeader
Header (if any) of the child menu item
iItemIndex
Visible index (if needed) of the child menu item

Return Value

Returns the child menu item either matching the header or present at the specified index of the parent menu item
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