Menu members

Represents a custom menu for the Web Part page.

The Menu type exposes the following members.

  Name Description
Public method Menu() Initializes a new instance of the Menu class with default values.
Public method Menu(String) Initializes a new instance of the Menu class with the specified label.
Public method Menu(String, String) Initializes a new instance of the Menu class with the specified label and target URL.
Top

  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

  Name Description
Protected method AddAttributesToRender (Inherited from WebControl.)
Protected method AddedControl (Inherited from Control.)
Protected method AddParsedSubObject (Inherited from Control.)
Public method ApplyStyle (Inherited from WebControl.)
Public method ApplyStyleSheetSkin (Inherited from Control.)
Protected method BuildProfileTree (Inherited from Control.)
Protected method ClearCachedClientID (Inherited from Control.)
Protected method ClearChildControlState (Inherited from Control.)
Protected method ClearChildState (Inherited from Control.)
Protected method ClearChildViewState (Inherited from Control.)
Protected method ClearEffectiveClientIDMode (Inherited from Control.)
Public method CopyBaseAttributes (Inherited from WebControl.)
Protected method CreateChildControls (Inherited from Control.)
Protected method CreateControlCollection (Inherited from Control.)
Protected method CreateControlStyle (Inherited from WebControl.)
Public method DataBind() (Inherited from Control.)
Protected method DataBind(Boolean) (Inherited from Control.)
Protected method DataBindChildren (Inherited from Control.)
Public method Static member DecodeClientTokenValue Decodes a value from a name/value list.
Public method Dispose (Inherited from Control.)
Public method Static member EncodeClientTokenValue Decodes a value from a name/value list.
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureID (Inherited from Control.)
Public method Static member EnsureOnlyValidSystemTokenNames Ensures that all of the Keys in the specified collection are valid system token names.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindControl(String) (Inherited from Control.)
Protected method FindControl(String, Int32) (Inherited from Control.)
Public method Focus (Inherited from Control.)
Protected method GenerateCallbackResultInternal Internal method that actually handles the callback event from the client and is callable from a derived class.
Public method GetCallbackResult Handles the callback event from the client.
Protected method GetDesignModeState (Inherited from Control.)
Public method GetHashCode (Inherited from Object.)
Public method GetRouteUrl(Object) (Inherited from Control.)
Public method GetRouteUrl(RouteValueDictionary) (Inherited from Control.)
Public method GetRouteUrl(String, Object) (Inherited from Control.)
Public method GetRouteUrl(String, RouteValueDictionary) (Inherited from Control.)
Public method GetType (Inherited from Object.)
Public method GetUniqueIDRelativeTo (Inherited from Control.)
Public method HasControls (Inherited from Control.)
Protected method HasEvents (Inherited from Control.)
Public method InitializeControlIds Sets the properties that could not be initialized correctly during the point in the control life cycle when they were set for the first time.
Protected method IsLiteralContent (Inherited from Control.)
Public method Static member IsValidSystemTokenName Determines whether or not the specified token name is a valid system token name.
Protected method LoadControlState (Inherited from Control.)
Protected method LoadViewState (Inherited from WebControl.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MergeStyle (Inherited from WebControl.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnCallbackMenuGeneration Raises the CallbackMenuGeneration event.
Protected method OnDataBinding (Inherited from Control.)
Protected method OnInit (Inherited from Control.)
Protected method OnLoad Raises the Load event. (Overrides Control.OnLoad(EventArgs).)
Protected method OnPreRender (Inherited from Control.)
Public method OnPreRenderOverride
Protected method OnUnload (Inherited from Control.)
Protected method OpenFile (Inherited from Control.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Public method RaiseCallbackEvent Handles the callback event from the client.
Protected method RemovedControl (Inherited from Control.)
Protected method Render Renders this control to the HTML writer. (Overrides WebControl.Render(HtmlTextWriter).)
Public method RenderBeginTag (Inherited from WebControl.)
Protected method RenderChildren (Inherited from Control.)
Protected method RenderContents (Inherited from WebControl.)
Public method RenderControl(HtmlTextWriter) (Inherited from Control.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Public method RenderEndTag (Inherited from WebControl.)
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Protected method SaveControlState (Inherited from Control.)
Protected method SaveViewState (Inherited from WebControl.)
Protected method SetDesignModeState (Inherited from Control.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from WebControl.)
Top

  Name Description
Public event CallbackMenuGeneration Occurs when the server control creates the callback menu template.
Public event DataBinding (Inherited from Control.)
Public event Disposed (Inherited from Control.)
Public event Init (Inherited from Control.)
Public event Load (Inherited from Control.)
Public event PreRender (Inherited from Control.)
Public event Unload (Inherited from Control.)
Top

  Name Description
Public field Static member AttributeListDelimiter Specifies the character used as a delimiter for control identifiers and name/value pairs.
Public field Static member AttributeListDelimiterAsString Represents the string version of the character used as a delimiter for control Ids and name/value pairs but is already in string form.
Public field Static member AttributeListDelimiterEncoded Represents the encoded form of the character used as the delimiter for attribute lists.
Public field Static member AttributeListSecondaryEncodedDelimiter Represents the encoded version of the secondary character used as the delimiter for attribute lists.
Public field Static member AttributeListSecondaryEncodedDelimiterAsString String version of character used as delimiter for control Ids and name/value pairs but already in string form.
Public field Static member AttributeListSecondaryEncodedDelimiterEncoded The encoded form of the character used as delimiter for control Ids and name/value pairs for use within the control Id or name/value pair.
Top

Show: