Version

GetRootOwningElement Method

Returns the root owning FrameworkElement of the input Menu item which may be a XamMenu or XamContextMenu
Syntax
'Declaration
 
Protected Function GetRootOwningElement( _
   ByVal menuItem As Infragistics.Controls.Menus.XamMenuItem _
) As System.Windows.FrameworkElement
protected System.Windows.FrameworkElement GetRootOwningElement( 
   Infragistics.Controls.Menus.XamMenuItem menuItem
)
protected: System.Windows.FrameworkElement* GetRootOwningElement( 
   Infragistics.Controls.Menus.XamMenuItem* menuItem
) 

Parameters

menuItem
The input Menu item

Return Value

The root owning FrameworkElement of the input 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