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 命名空间