Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Used to create and modify the behavior of items on a Web Part menu.
The MenuItem type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
MenuItem(String, String) | Initializes a new instance of the MenuItem class. |
![]() |
MenuItem(String, String, EventHandler) | Initializes a new instance of the MenuItem class. |
![]() |
MenuItem(String, String, String) | Initializes a new instance of the MenuItem class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
BeginSection | Gets or sets whether to create or delete a separator line above a menu item. |
![]() |
Caption | Gets or sets the text caption that is displayed for the menu item. |
![]() |
Checked | Gets or sets whether to visually display a check mark next to the menu item. |
![]() |
ClientEvent | Gets or sets the client-side Microsoft JScript code to execute when this menu item is clicked. |
![]() |
Enabled | Gets or sets whether the menu item is enabled. |
![]() |
IsParent | Gets whether the menu item contains child menu items. |
![]() |
MenuID | Gets or sets the unique identifier for a Web Part menu item. Token replacement is allowed. |
![]() |
MenuItems | Gets the collection of MenuItem objects for a submenu. |
![]() |
OnClick | Gets or sets the server-side function to execute for server-side menu items. |
![]() |
Visible | Gets or sets whether a menu item is displayed. |
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
.gif)
.gif)
.gif)