次の方法で共有


RibbonButtonGallery.GalleryCommand プロパティ

v2 に適用されます。

ギャラリーのコマンドを取得または設定します。

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

構文

'宣言
Public Property GalleryCommand As ICommand 
    Get 
    Private Set
'使用
Dim instance As RibbonButtonGallery 
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
ギャラリーのコマンド。

関連項目

参照

RibbonButtonGallery クラス

Microsoft.WebMatrix.Extensibility 名前空間