共用方式為


RibbonButtonGallery.GalleryCommand 屬性

適用於版本2

取得或設定圖庫的命令。

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