The members of System.Web.UI.WebControls.MenuItem are listed below.
See Also: Inherited members from System.Object
MenuItem() |
Initializes a new instance of the System.Web.UI.WebControls.MenuItem class without menu text or a value. | |
Initializes a new instance of the System.Web.UI.WebControls.MenuItem class using the specified menu text. | ||
Initializes a new instance of the System.Web.UI.WebControls.MenuItem class using the specified menu text and value. | ||
Initializes a new instance of the System.Web.UI.WebControls.MenuItem class using the specified menu text, value, and URL to an image. | ||
Initializes a new instance of the System.Web.UI.WebControls.MenuItem class using the specified menu text, value, image URL, and navigation URL. | ||
Initializes a new instance of the System.Web.UI.WebControls.MenuItem class using the specified menu text, value, image URL, navigation URL, and target. |
[read-only] | ChildItems | MenuItemCollection.
Gets a System.Web.UI.WebControls.MenuItemCollection object that contains the submenu items of the current menu item. |
[read-only] | DataBound | bool.
Gets a value indicating whether the menu item was created through data binding. |
[read-only] | DataItem | object.
Gets the data item that is bound to the menu item. |
[read-only] | DataPath | string.
Gets the path to the data that is bound to the menu item. |
[read-only] | Depth | int.
Gets the level at which a menu item is displayed. |
Enabled | bool.
Gets or sets a value that indicates whether the System.Web.UI.WebControls.MenuItem object is enabled, allowing the item to display a pop-out image and any child menu items. | |
ImageUrl | string.
Gets or sets the URL to an image that is displayed next to the text in a menu item. | |
NavigateUrl | string.
Gets or sets the URL to navigate to when the menu item is clicked. | |
[read-only] | Parent | MenuItem.
Gets the parent menu item of the current menu item. |
PopOutImageUrl | string.
Gets or sets the URL to an image that is displayed in a menu item to indicate that the menu item has a dynamic submenu. | |
Selectable | bool.
Gets or sets a value that indicates whether the System.Web.UI.WebControls.MenuItem object can be selected, or is "clickable." | |
Selected | bool.
Gets or sets a value indicating whether the current menu item is selected in a System.Web.UI.WebControls.Menu control. | |
SeparatorImageUrl | string.
Gets or sets the URL to an image displayed at the bottom of a menu item to separate it from other menu items. | |
Target | string.
Gets or sets the target window or frame in which to display the Web page content associated with a menu item. | |
Text | string.
Gets or sets the text displayed for the menu item in a System.Web.UI.WebControls.Menu control. | |
ToolTip | string.
Gets or sets the ToolTip text for the menu item. | |
Value | string.
Gets or sets a non-displayed value used to store any additional data about the menu item, such as data used for handling postback events. | |
[read-only] | ValuePath | string.
Gets the path from the root menu item to the current menu item. |
ICloneable.Clone |
Creates a copy of the current System.Web.UI.WebControls.MenuItem object. | |
[read-only] | System.Web.UI.IStateManager.IsTrackingViewState | bool.
Gets a value that indicates whether the System.Web.UI.WebControls.MenuItem object is saving changes to its view state. |
System.Web.UI.IStateManager.LoadViewState |
Loads the menu item's previously saved view state. | |
System.Web.UI.IStateManager.SaveViewState |
Saves the view-state changes to an object. | |
System.Web.UI.IStateManager.TrackViewState |
Instructs the System.Web.UI.WebControls.MenuItem object to track changes to its view state. |