Share via


RibbonSplitButtonGallery Class

Applies to v2.

Represents a ribbon split-button that expands to a gallery.

Inheritance Hierarchy

System.Object
  Microsoft.WebMatrix.Extensibility.RibbonItem
    Microsoft.WebMatrix.Extensibility.RibbonButton
      Microsoft.WebMatrix.Extensibility.RibbonSplitButtonGallery

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

Syntax

'Declaration
Public Class RibbonSplitButtonGallery _
    Inherits RibbonButton
'Usage
Dim instance As RibbonSplitButtonGallery
public class RibbonSplitButtonGallery : RibbonButton
public ref class RibbonSplitButtonGallery : public RibbonButton
type RibbonSplitButtonGallery =  
    class 
        inherit RibbonButton 
    end
public class RibbonSplitButtonGallery extends RibbonButton

The RibbonSplitButtonGallery type exposes the following members.

Constructors

  Name Description
Public method RibbonSplitButtonGallery(String, ICommandId, Object, ICommandId, IEnumerable<RibbonGalleryCategory>, Bitmap, Bitmap) Initializes a new instance of the RibbonSplitButtonGallery class.
Public method RibbonSplitButtonGallery(String, ICommandId, Object, ICommandId, IEnumerable<RibbonGalleryCategory>, ImageSource, ImageSource) Initializes a new instance of the RibbonSplitButtonGallery class.
Public method RibbonSplitButtonGallery(String, ICommand, Object, ICommand, IEnumerable<RibbonGalleryCategory>, Bitmap, Bitmap) Initializes a new instance of the RibbonSplitButtonGallery class.
Public method RibbonSplitButtonGallery(String, ICommand, Object, ICommand, IEnumerable<RibbonGalleryCategory>, ImageSource, ImageSource) Initializes a new instance of the RibbonSplitButtonGallery class.
Protected method RibbonSplitButtonGallery(String, ICommand, ICommandId, Object, ICommand, ICommandId, IEnumerable<RibbonGalleryCategory>, ImageSource, ImageSource) Initializes a new instance of the RibbonSplitButtonGallery class.

Top

Properties

  Name Description
Public property Categories Gets a sequence of category instances for the gallery.
Public property Command Gets or sets the command to invoke when the button is pressed. (Inherited from RibbonButton.)
Public property CommandId Gets or sets the command ID to invoke when the button is pressed. (Inherited from RibbonButton.)
Public property CommandParameter Gets or sets the command parameter to pass to the command or CommandId. (Inherited from RibbonButton.)
Public property GalleryClosing Gets or sets an action to invoke when the gallery is closing.
Public property GalleryCommand Gets the command to invoke when an item is chosen from the gallery.
Public property GalleryCommandId Gets or sets the command ID to invoke when an item is chosen from the gallery.
Public property GalleryOpening Gets or sets an action to invoke when the gallery is opening.
Public property Label Gets a label for the item. (Inherited from RibbonItem.)
Public property LargeImage Gets or sets a 32x32 image for the button. (Inherited from RibbonButton.)
Public property SmallImage Gets or sets a 16x16 image for the button. (Inherited from RibbonButton.)

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