Version

RecordMenuItem Method (XamRibbonProxy)

Record click action on a tool menu item
Syntax
'Declaration
 
Protected Sub RecordMenuItem( _
   ByVal toolItem As System.Windows.DependencyObject, _
   ByVal bIsSelectedItemChecked As System.Nullable(Of Boolean), _
   ByVal bHasSubItems As System.Nullable(Of Boolean) _
) 
protected void RecordMenuItem( 
   System.Windows.DependencyObject toolItem,
   System.Nullable<bool> bIsSelectedItemChecked,
   System.Nullable<bool> bHasSubItems
)
protected: void RecordMenuItem( 
   System.Windows.DependencyObject* toolItem,
   System.Nullable<bool> bIsSelectedItemChecked,
   System.Nullable<bool> bHasSubItems
) 

Parameters

toolItem
The clicked tool menu item
bIsSelectedItemChecked
Boolean to indicate the check state of the tool menu item
bHasSubItems
Boolean to indicate if the tool menu item has sub-items
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