RibbonButton.Click 事件 (2007 system)

更新:2007 年 11 月

在用户单击按钮时发生。

命名空间:  Microsoft.Office.Tools.Ribbon
程序集:  Microsoft.Office.Tools.Common.v9.0(在 Microsoft.Office.Tools.Common.v9.0.dll 中)

语法

声明
<RibbonEventAttribute("onAction")> _
Public Event Click As EventHandler(Of RibbonControlEventArgs)
用法
Dim instance As RibbonButton
Dim handler As EventHandler(Of RibbonControlEventArgs)

AddHandler instance.Click, handler
[RibbonEventAttribute("onAction")]
public event EventHandler<RibbonControlEventArgs> Click

权限

另请参见

参考

RibbonButton 类

RibbonButton 成员

Microsoft.Office.Tools.Ribbon 命名空间

其他资源

功能区对象模型概述