RibbonMenuButton Class

Applies to v2.

Represents a ribbon menu-button.

Inheritance Hierarchy

System.Object
  Microsoft.WebMatrix.Extensibility.RibbonItem
    Microsoft.WebMatrix.Extensibility.RibbonMenuButton

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

Syntax

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

The RibbonMenuButton type exposes the following members.

Constructors

  Name Description
Public method RibbonMenuButton(String, IEnumerable<RibbonButton>, Bitmap, Bitmap) Initializes a new instance of the RibbonMenuButton class.
Public method RibbonMenuButton(String, IEnumerable<RibbonButton>, ImageSource, ImageSource) Initializes a new instance of the RibbonMenuButton class.

Top

Properties

  Name Description
Public property Items Gets a sequence of RibbonButtons to show when the menu-button is pressed.
Public property Label Gets a label for the item. (Inherited from RibbonItem.)
Public property LargeImage Gets or sets a 32x32 image for the button.
Public property SmallImage Gets or sets a 16x16 image for the button.

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