共用方式為


RibbonSplitButtonGallery.GalleryOpening 屬性

適用於版本2

取得或設定要在開啟圖庫時叫用的動作。

命名空間:  Microsoft.WebMatrix.Extensibility
組件:  Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)

語法

'宣告
Public Property GalleryOpening As Action 
    Get 
    Set
'用途
Dim instance As RibbonSplitButtonGallery 
Dim value As Action 

value = instance.GalleryOpening

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

屬性值

型別:System.Action
要在開啟圖庫時叫用的動作。

請參閱

參考

RibbonSplitButtonGallery 類別

Microsoft.WebMatrix.Extensibility 命名空間