System.Web.UI.WebControls.Menu: Property Members

The properties of System.Web.UI.WebControls.Menu are listed below. For a list of all members, see the Menu Members list.

See Also: Inherited members from System.Web.UI.WebControls.HierarchicalDataBoundControl

Public Properties

[read-only]
override
ControlsSystem.Web.UI.ControlCollection.

Gets a System.Web.UI.ControlCollection that contains the child controls of the System.Web.UI.WebControls.Menu control.

[read-only]
DataBindingsMenuItemBindingCollection.

Gets a collection of System.Web.UI.WebControls.MenuItemBinding objects that define the relationship between a data item and the menu item it is binding to.

DisappearAfterint.

Gets or sets the duration for which a dynamic menu is displayed after the mouse pointer is no longer positioned over the menu.

DynamicBottomSeparatorImageUrlstring.

Gets or sets the URL to an image to display at the bottom of each dynamic menu item to separate it from other menu items.

DynamicEnableDefaultPopOutImagebool.

Gets or sets a value indicating whether the built-in image that indicates that a dynamic menu item has a submenu is displayed.

DynamicHorizontalOffsetint.

Gets or sets the number of pixels to shift a dynamic menu horizontally relative to its parent menu item.

[read-only]
DynamicHoverStyleStyle.

Gets a reference to the System.Web.UI.WebControls.Style object that allows you to set the appearance of a dynamic menu item when the mouse pointer is positioned over it.

DynamicItemFormatStringstring.

Gets or sets additional text shown with all menu items that are dynamically displayed.

DynamicItemTemplateSystem.Web.UI.ITemplate.

Gets or sets the template that contains the custom content to render for a dynamic menu.

[read-only]
DynamicMenuItemStyleMenuItemStyle.

Gets a reference to the System.Web.UI.WebControls.MenuItemStyle object that allows you to set the appearance of the menu items within a dynamic menu.

[read-only]
DynamicMenuStyleSubMenuStyle.

Gets a reference to the System.Web.UI.WebControls.MenuItemStyle object that allows you to set the appearance of a dynamic menu.

DynamicPopOutImageTextFormatStringstring.

Gets or sets the alternate text for the image used to indicate that a dynamic menu item has a submenu.

DynamicPopOutImageUrlstring.

Gets or sets the URL to a custom image that is displayed in a dynamic menu item when the dynamic menu item has a submenu.

[read-only]
DynamicSelectedStyleMenuItemStyle.

Gets a reference to the System.Web.UI.WebControls.MenuItemStyle object that allows you to set the appearance of the dynamic menu item selected by the user.

DynamicTopSeparatorImageUrlstring.

Gets or sets the URL to an image to display at the top of each dynamic menu item to separate it from other menu items.

DynamicVerticalOffsetint.

Gets or sets the number of pixels to shift a dynamic menu vertically relative to its parent menu item.

[read-only]
ItemsMenuItemCollection.

Gets a System.Web.UI.WebControls.MenuItemCollection object that contains all menu items in the System.Web.UI.WebControls.Menu control.

ItemWrapbool.

Gets or sets a value indicating whether the text for menu items should wrap.

[read-only]
LevelMenuItemStylesMenuItemStyleCollection.

Gets a System.Web.UI.WebControls.MenuItemStyleCollection object that contains the style settings that are applied to menu items based on their level in a System.Web.UI.WebControls.Menu control.

[read-only]
LevelSelectedStylesMenuItemStyleCollection.

Gets a System.Web.UI.WebControls.MenuItemStyleCollection object that contains the style settings that are applied to the selected menu item based on its level in a System.Web.UI.WebControls.Menu control.

[read-only]
LevelSubMenuStylesSubMenuStyleCollection.

Gets a System.Web.UI.WebControls.MenuItemStyleCollection object that contains the style settings that are applied to the submenu items in the static menu based on their level in a System.Web.UI.WebControls.Menu control.

MaximumDynamicDisplayLevelsint.

Gets or sets the number of menu levels to render for a dynamic menu.

OrientationOrientation.

Gets or sets the direction in which to render the System.Web.UI.WebControls.Menu control.

PathSeparatorchar.

Gets or sets the character used to delimit the path of a menu item in a System.Web.UI.WebControls.Menu control.

ScrollDownImageUrlstring.

Gets or sets the URL to an image displayed in a dynamic menu to indicate that the user can scroll down for additional menu items.

ScrollDownTextstring.

Gets or sets the alternate text for the image specified in the Menu.ScrollDownImageUrl property.

ScrollUpImageUrlstring.

Gets or sets the URL to an image displayed in a dynamic menu to indicate that the user can scroll up for additional menu items.

ScrollUpTextstring.

Gets or sets the alternate text for the image specified in the Menu.ScrollUpImageUrl property.

[read-only]
SelectedItemMenuItem.

Gets the selected menu item.

[read-only]
SelectedValuestring.

Gets the value of the selected menu item.

SkipLinkTextstring.

Gets or sets the alternate text for a hidden image read by screen readers to provide the ability to skip the list of links.

StaticBottomSeparatorImageUrlstring.

Gets or sets the URL to an image displayed as the separator at the bottom of each static menu item.

StaticDisplayLevelsint.

Gets or sets the number of menu levels to display in a static menu.

StaticEnableDefaultPopOutImagebool.

Gets or sets a value indicating whether the built-in image is displayed to indicate that a static menu item has a submenu.

[read-only]
StaticHoverStyleStyle.

Gets a reference to the System.Web.UI.WebControls.Style object that allows you to set the appearance of a static menu item when the mouse pointer is positioned over it.

StaticItemFormatStringstring.

Gets or sets additional text shown with all menu items that are statically displayed.

StaticItemTemplateSystem.Web.UI.ITemplate.

Gets or sets the template that contains the custom content to render for a static menu.

[read-only]
StaticMenuItemStyleMenuItemStyle.

Gets a reference to the System.Web.UI.WebControls.MenuItemStyle object that allows you to set the appearance of the menu items in a static menu.

[read-only]
StaticMenuStyleSubMenuStyle.

Gets a reference to the System.Web.UI.WebControls.MenuItemStyle object that allows you to set the appearance of a static menu.

StaticPopOutImageTextFormatStringstring.

Gets or sets the alternate text for the pop-out image used to indicate that a static menu item has a submenu.

StaticPopOutImageUrlstring.

Gets or sets the URL to an image displayed to indicate that a static menu item has a submenu.

[read-only]
StaticSelectedStyleMenuItemStyle.

Gets a reference to the System.Web.UI.WebControls.MenuItemStyle object that allows you to set the appearance of the menu item selected by the user in a static menu.

StaticSubMenuIndentUnit.

Gets or sets the amount of space, in pixels, to indent submenus within a static menu.

StaticTopSeparatorImageUrlstring.

Gets or sets the URL to an image displayed as the separator at the top of each static menu item.

Targetstring.

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

Protected Properties

[read-only]
override
TagKeySystem.Web.UI.HtmlTextWriterTag.

Gets the System.Web.UI.HtmlTextWriterTag value that corresponds to a System.Web.UI.WebControls.Menu control. This property is used primarily by control developers.