Represents an item within a Menu control. The following tables list the members exposed by the MenuItem type.
|
Name | Description | |
---|---|---|
![]() |
Initializes a new instance of the MenuItem class. |
Name | Description | |
---|---|---|
![]() |
Gets the collection of child items. |
|
![]() |
Gets or sets the menu item's custom content. |
|
![]() |
Gets or sets the default CSS class for this menu item. |
|
![]() |
Gets or sets a value indicating whether the MenuItem is enabled. |
|
![]() |
Gets or sets the URL of the image. |
|
![]() |
Gets the index of the current menu item. |
|
![]() |
Gets or sets a value indicating whether the item is a separator. |
|
![]() |
Gets a value indicating whether state changes are being tracked. |
|
![]() |
Gets the type of the control. |
|
![]() |
Gets or sets the URL of the page that will be navigated to when a user clicks the MenuItem. |
|
![]() |
Gets the owner menu of the current menu item. |
|
![]() |
Gets the parent menu item of the current menu item. |
|
![]() |
Gets the root MenuItem of the current menu item. |
|
![]() |
Gets or sets the default CSS class for this root menu item. |
|
![]() |
Gets or sets the title text displayed by this item. |
|
![]() |
Gets or sets the tooltip text displayed by this item. |
|
![]() |
Gets or sets the custom data associated by this item. |
Name | Description | |
---|---|---|
![]() |
Sets the state of the StateBag object. |
Name | Description | |
---|---|---|
![]() |
Loads the control from an XML element. |
|
![]() |
Saves the control to the underlying document under the specified name. |