Version

GetRibbonToolId Method

Returns the identifer for a ribbon tool
Syntax
'Declaration
 
Protected Function GetRibbonToolId( _
   ByVal ribbonTool As System.Windows.DependencyObject, _
   Optional ByVal oParentObject As System.Windows.DependencyObject, _
   Optional ByVal childToolId As System.Object, _
   Optional ByVal bIsDialogBoxLauncher As System.Boolean _
) As System.Object
protected System.object GetRibbonToolId( 
   System.Windows.DependencyObject ribbonTool,
   System.Windows.DependencyObject oParentObject,
   System.object childToolId,
   System.bool bIsDialogBoxLauncher
)
protected: System.Object* GetRibbonToolId( 
   System.Windows.DependencyObject* ribbonTool,
   System.Windows.DependencyObject* oParentObject,
   System.Object* childToolId,
   System.bool bIsDialogBoxLauncher
) 

Parameters

ribbonTool
The ribbon tool
oParentObject
Optional parent of the tool
childToolId
Optional child tool identifier
bIsDialogBoxLauncher
Optional boolean of true to indicate that the tool is a dialog box launcher tool

Return Value

Returns the identifer for a ribbon 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