RibbonButton Class

Applies to v2.

Represents a ribbon button.

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

public class RibbonButton : RibbonItem

The RibbonButton type exposes the following members.

  NameDescription
Public methodRibbonButton(String, ICommandId, Object, Bitmap, Bitmap)Initializes a new instance of the RibbonButton class.
Public methodRibbonButton(String, ICommandId, Object, ImageSource, ImageSource)Initializes a new instance of the RibbonButton class.
Public methodRibbonButton(String, ICommand, Object, Bitmap, Bitmap)Initializes a new instance of the RibbonButton class.
Public methodRibbonButton(String, ICommand, Object, ImageSource, ImageSource)Initializes a new instance of the RibbonButton class.
Protected methodRibbonButton(String, ICommand, ICommandId, Object, ImageSource, ImageSource)Initializes a new instance of the RibbonButton class.
Top

  NameDescription
Public propertyCommandGets or sets the command to invoke when the button is pressed.
Public propertyCommandIdGets or sets the command ID to invoke when the button is pressed.
Public propertyCommandParameterGets or sets the command parameter to pass to the command or CommandId.
Public propertyLabelGets a label for the item. (Inherited from RibbonItem.)
Public propertyLargeImageGets or sets a 32x32 image for the button.
Public propertySmallImageGets or sets a 16x16 image for the button.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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