RibbonButtonGallery Class

Applies to v2.

Represents the button gallery for the ribbon.

Inheritance Hierarchy

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

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public Class RibbonButtonGallery _
    Inherits RibbonItem
'Usage
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

The RibbonButtonGallery type exposes the following members.

Constructors

  Name Description
Public method RibbonButtonGallery(String, ICommandId, IEnumerable<RibbonGalleryCategory>, Bitmap, Bitmap) Initializes a new instance of the RibbonButtonGallery class with specified label, command identifier, category, and images.
Public method RibbonButtonGallery(String, ICommandId, IEnumerable<RibbonGalleryCategory>, ImageSource, ImageSource) Initializes a new instance of the RibbonButtonGallery class with specified label, command identifier, category, and images.
Public method RibbonButtonGallery(String, ICommand, IEnumerable<RibbonGalleryCategory>, Bitmap, Bitmap) Initializes a new instance of the RibbonButtonGallery class with specified label, command, category, and images.
Public method RibbonButtonGallery(String, ICommand, IEnumerable<RibbonGalleryCategory>, ImageSource, ImageSource) Initializes a new instance of the RibbonButtonGallery class with specified label, command, category, and images.
Protected method RibbonButtonGallery(String, ICommand, ICommandId, IEnumerable<RibbonGalleryCategory>, ImageSource, ImageSource) Initializes a new instance of the RibbonButtonGallery class with specified label, command, command identifier, category, and images.

Top

Properties

  Name Description
Public property Categories Gets or sets a set of ribbon gallery categories.
Public property GalleryClosing Gets or sets an action that represents the closing of the gallery.
Public property GalleryCommand Gets or sets the command for the gallery.
Public property GalleryCommandId Gets or sets the command identifier for the gallery.
Public property GalleryOpening Gets or sets an action that represents the opening of the gallery.
Public property Label Gets a label for the item. (Inherited from RibbonItem.)
Public property LargeImage Gets or sets the large image within the gallery.
Public property SmallImage Gets or sets the small image within the gallery.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.WebMatrix.Extensibility Namespace