RibbonSplitButtonGallery.GalleryCommand 屬性

適用於版本2

取得要在從圖庫中選擇項目時叫用的命令。

命名空間:  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 命名空間