SPRibbonMenuItem members

Represents a menu item in an SPRibbonMenuSection object.

The SPRibbonMenuItem type exposes the following members.

Constructors

  Name Description
Public method SPRibbonMenuItem Initializes a new instance of an SPRibbonMenuItem object.

Top

Properties

  Name Description
Public property Command Gets the command to execute for the menu item.
Public property ImageUrl Gets the URL of the image to display for the menu item.
Public property Text Gets the text of the menu item.

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

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IComparable<SPRibbonMenuItem>.CompareTo Compares the SPRibbonMenuItem object with a specified SPRibbonMenuItem object.

Top

See also

Reference

SPRibbonMenuItem class

Microsoft.SharePoint.WebControls namespace