次の方法で共有


RibbonToggleButton クラス

v2 に適用されます。

リボンのトグル ボタンを表します。

継承階層

System.Object
  Microsoft.WebMatrix.Extensibility.RibbonItem
    Microsoft.WebMatrix.Extensibility.RibbonButton
      Microsoft.WebMatrix.Extensibility.RibbonToggleButton

名前空間:  Microsoft.WebMatrix.Extensibility
アセンブリ:  Microsoft.WebMatrix.Extensibility (Microsoft.WebMatrix.Extensibility.dll)

構文

'宣言
Public Class RibbonToggleButton _
    Inherits RibbonButton _
    Implements INotifyPropertyChanged
'使用
Dim instance As RibbonToggleButton
public class RibbonToggleButton : RibbonButton, 
    INotifyPropertyChanged
public ref class RibbonToggleButton : public RibbonButton, 
    INotifyPropertyChanged
type RibbonToggleButton =  
    class 
        inherit RibbonButton 
        interface INotifyPropertyChanged 
    end
public class RibbonToggleButton extends RibbonButton implements INotifyPropertyChanged

RibbonToggleButton 型は、以下のメンバーを公開しています。

コンストラクター

  名前 説明
パブリック メソッド RibbonToggleButton(String, ICommandId, Object, Bitmap, Bitmap) RibbonToggleButton クラスの新しいインスタンスを初期化します。
パブリック メソッド RibbonToggleButton(String, ICommandId, Object, ImageSource, ImageSource) RibbonToggleButton クラスの新しいインスタンスを初期化します。
パブリック メソッド RibbonToggleButton(String, ICommand, Object, Bitmap, Bitmap) RibbonToggleButton クラスの新しいインスタンスを初期化します。
パブリック メソッド RibbonToggleButton(String, ICommand, Object, ImageSource, ImageSource) RibbonToggleButton クラスの新しいインスタンスを初期化します。

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ Command ボタンがクリックされたときに呼び出すコマンドを取得または設定します。 (RibbonButton から継承されています。)
パブリック プロパティ CommandId ボタンがクリックされたときに呼び出すコマンド ID を取得または設定します。 (RibbonButton から継承されています。)
パブリック プロパティ CommandParameter Command または CommandId に渡すコマンド パラメーターを取得または設定します。 (RibbonButton から継承されています。)
パブリック プロパティ IsChecked ボタンが選択されているか (切り替えられているか) どうかを示す値を取得または設定します。
パブリック プロパティ Label 項目のラベルを取得します。 (RibbonItem から継承されています。)
パブリック プロパティ LargeImage ボタンの 32x32 画像を取得または設定します。 (RibbonButton から継承されています。)
パブリック プロパティ SmallImage ボタンの 16x16 画像を取得または設定します。 (RibbonButton から継承されています。)

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Equals (Object から継承されています。)
プロテクト メソッド Finalize (Object から継承されています。)
パブリック メソッド GetHashCode (Object から継承されています。)
パブリック メソッド GetType (Object から継承されています。)
プロテクト メソッド MemberwiseClone (Object から継承されています。)
パブリック メソッド ToString (Object から継承されています。)

先頭に戻る

イベント

  名前 説明
パブリック イベント PropertyChanged プロパティで値が変更されるときに発生します。

先頭に戻る

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.WebMatrix.Extensibility 名前空間