The MenuItem type exposes the following members.

Constructors

  NameDescription
Public methodMenuItem
Initializes a new instance of the MenuItem class

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToJavaScript
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAction
Menu item action type.
Public propertyCommand
Menu item command.
Public propertyImage
URL of the menu item image.
Public propertyJavaScript
JavaScript action that is executed when Action is set to JavaScript and a users clicks the menu item.
Public propertyNavigateUrl
URL of the menu item (used when Action is set to NavigateUrl).
Public propertyNavigateUrlTarget
Target of the menu item hyperlink (used when Action is set to NavigateUrl).
Public propertyText
Text of the menu item.
Public propertyToolTip
ToolTip for the menu item (appears as "title" parameter of <a> tag ).

See Also