MenuItem Properties

MenuItem Properties

 

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubpropertyChildItems

Gets a MenuItemCollection object that contains the submenu items of the current menu item.

System_CAPS_pubpropertyDataBound

Gets a value indicating whether the menu item was created through data binding.

System_CAPS_pubpropertyDataItem

Gets the data item that is bound to the menu item.

System_CAPS_pubpropertyDataPath

Gets the path to the data that is bound to the menu item.

System_CAPS_pubpropertyDepth

Gets the level at which a menu item is displayed.

System_CAPS_pubpropertyEnabled

Gets or sets a value that indicates whether the MenuItem object is enabled, allowing the item to display a pop-out image and any child menu items.

System_CAPS_pubpropertyImageUrl

Gets or sets the URL to an image that is displayed next to the text in a menu item.

System_CAPS_pubpropertyNavigateUrl

Gets or sets the URL to navigate to when the menu item is clicked.

System_CAPS_pubpropertyParent

Gets the parent menu item of the current menu item.

System_CAPS_pubpropertyPopOutImageUrl

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.

System_CAPS_pubpropertySelectable

Gets or sets a value that indicates whether the MenuItem object can be selected, or is "clickable."

System_CAPS_pubpropertySelected

Gets or sets a value indicating whether the current menu item is selected in a Menu control.

System_CAPS_pubpropertySeparatorImageUrl

Gets or sets the URL to an image displayed at the bottom of a menu item to separate it from other menu items.

System_CAPS_pubpropertyTarget

Gets or sets the target window or frame in which to display the Web page content associated with a menu item.

System_CAPS_pubpropertyText

Gets or sets the text displayed for the menu item in a Menu control.

System_CAPS_pubpropertyToolTip

Gets or sets the ToolTip text for the menu item.

System_CAPS_pubpropertyValue

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.

System_CAPS_pubpropertyValuePath

Gets the path from the root menu item to the current menu item.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privpropertyIStateManager.IsTrackingViewState

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a value that indicates whether the MenuItem object is saving changes to its view state.

Return to top
Show:
© 2016 Microsoft