次の方法で共有


RibbonSplitButtonGallery.GalleryCommand プロパティ

v2 に適用されます。

アイテムをギャラリーから選択するときに呼び出すコマンドを取得します。

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

構文

'宣言
Public Property GalleryCommand As ICommand 
    Get 
    Private Set
'使用
Dim instance As RibbonSplitButtonGallery 
Dim value As ICommand 

value = instance.GalleryCommand
public ICommand GalleryCommand { get; private set; }
public:
property ICommand^ GalleryCommand {
    ICommand^ get ();
    private: void set (ICommand^ value);
}
member GalleryCommand : ICommand with get, private set
function get GalleryCommand () : ICommand 
private function set GalleryCommand (value : ICommand)

プロパティ値

型: System.Windows.Input.ICommand
アイテムをギャラリーから選択するときに呼び出すコマンド。

関連項目

参照

RibbonSplitButtonGallery クラス

Microsoft.WebMatrix.Extensibility 名前空間