Menu properties

The Menu type exposes the following members.

  Name Description
Public property AccessKey (Inherited from WebControl.)
Protected property Adapter (Inherited from Control.)
Public property AlignmentElementOverrideClientId Gets or sets the client-side element that is used to align the menu.
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property ArrowImageHeight Gets or sets the height of a clustered down arrow image.
Public property ArrowImageHtml
Public property ArrowImageOffsetX Gets or sets the x-axis offset of a clustered down arrow image.
Public property ArrowImageOffsetY Gets or sets the y-axis offset of a clustered down arrow image.
Public property ArrowImageUrl Gets or sets the URL of the arrow image.
Public property ArrowImageWidth Gets or sets the width of a clustered down arrow image.
Public property Attributes (Inherited from WebControl.)
Public property BackColor (Inherited from WebControl.)
Public property BindingContainer (Inherited from Control.)
Public property BorderColor (Inherited from WebControl.)
Public property BorderStyle (Inherited from WebControl.)
Public property BorderWidth (Inherited from WebControl.)
Public property CallbackArgument Gets or sets the callback argument value which will be sent back to the server during the callback.
Public property CancelOnclickEvent Gets or sets a value that indicates whether the OnClick event is canceled after the menu OnClick event handle has been triggered.
Public property CheckedMenuItemIds Gets or sets the ID of the checked menu items.
Public property CheckedMenuItems Gets the value of the checked menu items.
Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientAlternativeOnClickScript
Public property ClientID Gets the ClientID of this control. (Overrides Control.ClientID.)
Public property ClientIDMode (Inherited from Control.)
Public property ClientIdOverride Gets or sets the value of the client ID override string.
Protected property ClientIDSeparator (Inherited from Control.)
Public property ClientOnClickPreMenuOpen Gets or sets the value for [ClientOnClickPreMenuOpen].
Public property ClientOnClickScript Gets or sets the script to execute when a split-button is clicked.
Protected property Context (Inherited from Control.)
Public property Controls (Inherited from Control.)
Public property ControlStyle (Inherited from WebControl.)
Public property ControlStyleCreated (Inherited from WebControl.)
Public property CssClass (Inherited from WebControl.)
Public property DataItemContainer (Inherited from Control.)
Public property DataKeysContainer (Inherited from Control.)
Protected property DesignMode (Inherited from Control.)
Public property DisabledMenuItemIds Gets or sets the identifiers of the MenuItemTemplate controls to be disabled.
Public property DisabledMenuItems Gets a generic collection object that contains references to the MenuItemTemplate controls that should be disabled on this menu.
Public property Enabled (Inherited from WebControl.)
Public property EnableTheming (Inherited from WebControl.)
Public property EnableTreeViewClickToOpen Gets or sets a value that indicates whether a TreeView node should open the Edit Control Block (ECB) when the user clicks the node.
Public property EnableViewState (Inherited from Control.)
Protected property Events (Inherited from Control.)
Public property Font (Inherited from WebControl.)
Public property ForeColor (Inherited from WebControl.)
Public property GetMenuFromIdClientFunction Gets or sets the name of the client-side function that gets menu elements from a client identifier.
Public property HasAttributes (Inherited from WebControl.)
Protected property HasChildViewState (Inherited from Control.)
Public property Height (Inherited from WebControl.)
Public property HiddenMenuItemIds Gets or sets the identifiers of the MenuItemTemplate controls to be hidden.
Public property HiddenMenuItems Gets a generic collection object that contains references to the MenuItemTemplate controls that should be hidden on this menu.
Public property HoverArrowImageHeight Gets or sets the height of a clustered hover down arrow image.
Public property HoverArrowImageOffsetX Gets or sets the x-axis offset of a clustered hover down arrow image.
Public property HoverArrowImageOffsetY Gets or sets the y-axis offset of a clustered hover down arrow image.
Public property HoverArrowImageUrl Gets or sets the URL of the hover down arrow image.
Public property HoverArrowImageWidth Gets or sets the width of a clustered hover down arrow image.
Public property HoverCellActiveCssClass Gets or sets the Cascading Style Sheet (CSS) class or classes to apply to the cell surrounding the menu text when the pointer moves over the cell.
Public property HoverCellInActiveCssClass Gets or sets the Cascading Style Sheets (CSS) class or classes to apply to the cell surrounding the menu text.
Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Public property ImageAlternativeText Gets or sets the image alternative text.
Public property ImageSpanCssClass
Public property ImageTextSpacing Gets or sets the amount of space between the image and the text of the menu.
Public property ImageUrl Gets or sets the URL of the image to be displayed with the link text.
Protected property IsChildControlStateCleared (Inherited from Control.)
Protected property IsEnabled (Inherited from WebControl.)
Protected property IsTrackingViewState (Inherited from Control.)
Protected property IsViewStateEnabled (Inherited from Control.)
Public property LinkExtraAttributes Gets the extra cursor attributes that go with the specified menu control context.
Public property LinkExtraAttributesDictionary Gets the LinkExtraAttributes string as an attribute collection.
Protected property LoadViewStateByID (Inherited from Control.)
Public property MenuAlignment Gets or sets the alignment of the current menu instance.
Public property MenuFormat Gets or sets the display format of the menu item.
Public property MenuNotVisibleHtml Gets or sets HTML that renders if the menu is not visible
Public property NamingContainer (Inherited from Control.)
Public property NavigateUrl Gets or sets the navigation URL.
Public property Page (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property PermissionTrimButton Gets or sets a value that indicates whether the menu link will be trimmed based on permission.
Public property PostLinkHtml Gets the post link html.
Public property PrefixHtml Gets or sets HTML that renders before the menu
Public property PreLinkHtml Gets the pre-link html.
Public property RenderingCompatibility (Inherited from Control.)
Public property RightImageUrl Gets or sets the URL of the image to display after the link text.
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from WebControl.)
Public property Style (Inherited from WebControl.)
Public property SuffixHtml Gets or sets the suffix html.
Public property SupportsDisabledAttribute (Inherited from WebControl.)
Public property SuppressBubbleIfPostback Gets or sets a value that indicates whether certain results of the OnClick event, such as the bubble cursor display and menu item opening, are to be suppressed if a child link intends to post back.
Public property SystemTokenNamesAndValues Gets the token names and values.
Public property SystemTokenNamesAndValuesInitialized Gets the Boolean value indicating that the system token names and values have been initialized.
Public property TabIndex (Inherited from WebControl.)
Protected property TagKey (Inherited from WebControl.)
Protected property TagName (Inherited from WebControl.)
Public property Template Gets or sets the MenuTemplate that this menu should use.
Public property TemplateControl (Inherited from Control.)
Public property TemplateId A string indicating the Id of the MenuTemplate control to be used.
Public property TemplateSourceDirectory (Inherited from Control.)
Public property Text Gets or sets the text label for this menu.
Public property TextCssClass Gets or sets the CSS class or classes to put on the text label for this menu.
Public property TokenNamesAndValues Gets the token name and value pairs to use for the current menu.
Public property TokenValues Gets or sets the list of token names and values by using a string containing the concatenated list of name/value pairs.
Public property ToolTip Gets or sets the text displayed when the mouse pointer hovers over the Web server control. (Overrides WebControl.ToolTip.)
Public property UniqueID (Inherited from Control.)
Public property UseDivForMenu Gets or sets a value that indicates whether to use a div tag to surround the menu element.
Public property UseMaximumWidth Gets or sets a value that indicates whether this menu attempts to consume the full width of its container.
Public property UseShortId Gets or sets a value that indicates whether the menu uses the short version of the menu identifier.
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property ViewStateMode (Inherited from Control.)
Public property Visible Gets or sets a value that indicates whether the menu control is rendered as UI on the page. (Overrides Control.Visible.)
Public property Width (Inherited from WebControl.)
Top
Show: