Share via


RibbonButtonGallery 類別

適用於版本2

代表功能區的按鈕圖庫。

繼承階層

System.Object
  Microsoft.WebMatrix.Extensibility.RibbonItem
    Microsoft.WebMatrix.Extensibility.RibbonButtonGallery

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

語法

'宣告
Public Class RibbonButtonGallery _
    Inherits RibbonItem
'用途
Dim instance As RibbonButtonGallery
public class RibbonButtonGallery : RibbonItem
public ref class RibbonButtonGallery : public RibbonItem
type RibbonButtonGallery =  
    class 
        inherit RibbonItem 
    end
public class RibbonButtonGallery extends RibbonItem

RibbonButtonGallery 型別公開下列成員。

建構函式

  名稱 說明
公用方法 RibbonButtonGallery(String, ICommandId, IEnumerable<RibbonGalleryCategory>, Bitmap, Bitmap) 使用指定的標籤、命令識別碼、類別和影像,初始化 RibbonButtonGallery 類別的新執行個體。
公用方法 RibbonButtonGallery(String, ICommandId, IEnumerable<RibbonGalleryCategory>, ImageSource, ImageSource) 使用指定的標籤、命令識別碼、類別和影像,初始化 RibbonButtonGallery 類別的新執行個體。
公用方法 RibbonButtonGallery(String, ICommand, IEnumerable<RibbonGalleryCategory>, Bitmap, Bitmap) 使用指定的標籤、命令、類別和影像,初始化 RibbonButtonGallery 類別的新執行個體。
公用方法 RibbonButtonGallery(String, ICommand, IEnumerable<RibbonGalleryCategory>, ImageSource, ImageSource) 使用指定的標籤、命令、類別和影像,初始化 RibbonButtonGallery 類別的新執行個體。
受保護的方法 RibbonButtonGallery(String, ICommand, ICommandId, IEnumerable<RibbonGalleryCategory>, ImageSource, ImageSource) 使用指定的標籤、命令、命令識別碼、類別和影像,初始化 RibbonButtonGallery 類別的新執行個體。

上層

屬性

  名稱 說明
公用屬性 Categories 取得或設定一組功能區圖庫分類。
公用屬性 GalleryClosing 取得或設定動作,這個動作代表關閉圖庫。
公用屬性 GalleryCommand 取得或設定圖庫的命令。
公用屬性 GalleryCommandId 取得或設定圖庫的命令識別碼。
公用屬性 GalleryOpening 取得或設定動作,這個動作代表開啟圖庫。
公用屬性 Label 取得項目的標籤。 (繼承自 RibbonItem。)
公用屬性 LargeImage 取得或設定圖庫內的大影像。
公用屬性 SmallImage 取得或設定圖庫內的小影像。

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.WebMatrix.Extensibility 命名空間