Version

GetToolMenuItem Method

Returns the UI visible ToolMenuItem of the given tool
Syntax
'Declaration
 
Protected Shared Function GetToolMenuItem( _
   ByVal tool As System.Windows.FrameworkElement _
) As Infragistics.Windows.Ribbon.ToolMenuItem
protected static Infragistics.Windows.Ribbon.ToolMenuItem GetToolMenuItem( 
   System.Windows.FrameworkElement tool
)
protected: static Infragistics.Windows.Ribbon.ToolMenuItem* GetToolMenuItem( 
   System.Windows.FrameworkElement* tool
) 

Parameters

tool
The input tool

Return Value

Returns the UI visible ToolMenuItem of the given tool
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