The MenuItem type exposes the following members.

Constructors

  NameDescription
Public methodMenuItem
Initializes a new instance of the MenuItem class

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Overrides Object..::..ToString()()()().)

Fields

  NameDescription
Public fieldStatic memberSeparator

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 propertyMenuItems
Collection of menu items.
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