次の方法で共有


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

RibbonSplitButton 上のボタンの種類を表す RibbonButtonType

解説

2 つのオプションは ButtonToggleButton です。

実行時にプロパティを変更することはできません。

アクセス許可

  • 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

RibbonSplitButton クラス

RibbonSplitButton メンバ

Microsoft.Office.Tools.Ribbon 名前空間

その他の技術情報

リボン オブジェクト モデルの概要