RibbonDropDown.ButtonClick Event (2007 System)
Occurs when a user clicks a button on a RibbonDropDown.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Event ButtonClick As EventHandler(Of RibbonControlEventArgs)
'Usage
Dim instance As RibbonDropDown
Dim handler As EventHandler(Of RibbonControlEventArgs)
AddHandler instance.ButtonClick, handler
public event EventHandler<RibbonControlEventArgs> ButtonClick
public:
event EventHandler<RibbonControlEventArgs^>^ ButtonClick {
void add (EventHandler<RibbonControlEventArgs^>^ value);
void remove (EventHandler<RibbonControlEventArgs^>^ value);
}
JScript does not support events.
Remarks
This event is not raised when a user clicks an Item on a RibbonDropDown.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace