Version

RecordRibbonTool Method

Records actions on a ribbon tool
Syntax
'Declaration
 
Protected Sub RecordRibbonTool( _
   ByVal ribbonTool As System.Object, _
   Optional ByVal oParentObject As System.Windows.DependencyObject, _
   Optional ByVal childToolId As System.Object, _
   Optional ByVal bIsDialogBoxLauncher As System.Boolean, _
   Optional ByVal bIsMenuToolCheckable As System.Boolean, _
   Optional ByVal galleryItemAction As XamRibbonProxy.ToolAction_Ribbon _
) 
protected void RecordRibbonTool( 
   System.object ribbonTool,
   System.Windows.DependencyObject oParentObject,
   System.object childToolId,
   System.bool bIsDialogBoxLauncher,
   System.bool bIsMenuToolCheckable,
   XamRibbonProxy.ToolAction_Ribbon galleryItemAction
)
protected: void RecordRibbonTool( 
   System.Object* ribbonTool,
   System.Windows.DependencyObject* oParentObject,
   System.Object* childToolId,
   System.bool bIsDialogBoxLauncher,
   System.bool bIsMenuToolCheckable,
   XamRibbonProxy.ToolAction_Ribbon galleryItemAction
) 

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
bIsMenuToolCheckable
Optional boolean of true to indicate that the tool is checkable
galleryItemAction
Optional action performed on the 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