The MenuItem type exposes the following members.

Constructors

  NameDescription
MenuItem
Initializes a new instance of the MenuItem class

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Overrides Object..::.ToString()()().)

Properties

  NameDescription
Action
Menu item action type.
Command
Menu item command.
JavaScript
JavaScript action that is executed when Action is set to JavaScript and a users clicks the menu item.
NavigateUrl
URL of the menu item (used when Action is set to NavigateUrl).
NavigateUrlTarget
Target of the menu item hyperlink (used when Action is set to NavigateUrl).
Text
Text of the menu item.
ToolTip
ToolTip for the menu item (appears as "title" parameter of <a> tag ).

See Also