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 上的按钮的类型。

备注

两个选项是 ButtonToggleButton

不能在运行时更改该属性。

权限

另请参见

参考

RibbonSplitButton 类

RibbonSplitButton 成员

Microsoft.Office.Tools.Ribbon 命名空间

其他资源

功能区对象模型概述