RibbonSplitButton.ButtonType 属性 (2007 system)
更新:2007 年 11 月
获取或设置 RibbonSplitButton 上的按钮的类型。
命名空间: Microsoft.Office.Tools.Ribbon
程序集: Microsoft.Office.Tools.Common.v9.0(在 Microsoft.Office.Tools.Common.v9.0.dll 中)
语法
声明
Public Property ButtonType As RibbonButtonType
用法
Dim instance As RibbonSplitButton
Dim value As RibbonButtonType
value = instance.ButtonType
instance.ButtonType = value
public RibbonButtonType ButtonType { get; set; }
属性值
类型:Microsoft.Office.Tools.Ribbon.RibbonButtonType
一个 RibbonButtonType,表示 RibbonSplitButton 上的按钮的类型。
备注
两个选项是 Button 和 ToggleButton。
不能在运行时更改该属性。
权限
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
另请参见
参考
Microsoft.Office.Tools.Ribbon 命名空间