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 | |
---|---|---|
RibbonMenuButton(String, IEnumerable<RibbonButton>, Bitmap, Bitmap) | Initializes a new instance of the RibbonMenuButton class. | |
RibbonMenuButton(String, IEnumerable<RibbonButton>, ImageSource, ImageSource) | Initializes a new instance of the RibbonMenuButton class. |
Top
Properties
Name | Description | |
---|---|---|
Items | Gets a sequence of RibbonButtons to show when the menu-button is pressed. | |
Label | Gets a label for the item. (Inherited from RibbonItem.) | |
LargeImage | Gets or sets a 32x32 image for the button. | |
SmallImage | Gets or sets a 16x16 image for the button. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.