AspMenu members

Represents an AspMenu control.

The AspMenu type exposes the following members.

Constructors

  Name Description
Public method AspMenu Initializes a new instance of the AspMenu class.

Top

Properties

  Name Description
Public property AccessKey (Inherited from WebControl.)
Protected property Adapter (Inherited from Control.)
Public property AdjustForShowStartingNode This setting supports certain scenarios where a master page contains an AspMenu control that is bound to a SiteMapDataSource whose configuration is not known in advance. This property is false by default.
Public property AJAXRender Controls whether the menu gets rendered in an AJAX Refresh or not the server.
Public property AllowScriptUrls
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
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.)
Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientID Gets the ID of the control. (Overrides Control.ClientID.)
Public property ClientIDMode (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Protected property Context (Inherited from Control.)
Public property Controls (Inherited from Menu.)
Public property ControlStyle (Inherited from WebControl.)
Public property ControlStyleCreated (Inherited from WebControl.)
Public property CssClass (Inherited from WebControl.)
Public property CustomSelectionEnabled Gets or sets a value that indicates whether custom selection is enabled for the control.
Public property DataBindings (Inherited from Menu.)
Public property DataItemContainer (Inherited from Control.)
Public property DataKeysContainer (Inherited from Control.)
Public property DataSource (Inherited from BaseDataBoundControl.)
Public property DataSourceID (Inherited from HierarchicalDataBoundControl.)
Protected property DesignMode (Inherited from Control.)
Public property DisappearAfter (Inherited from Menu.)
Public property DynamicBottomSeparatorImageUrl (Inherited from Menu.)
Public property DynamicEnableDefaultPopOutImage (Inherited from Menu.)
Public property DynamicHorizontalOffset (Inherited from Menu.)
Public property DynamicHoverStyle (Inherited from Menu.)
Public property DynamicItemFormatString (Inherited from Menu.)
Public property DynamicItemTemplate (Inherited from Menu.)
Public property DynamicMenuItemStyle (Inherited from Menu.)
Public property DynamicMenuStyle (Inherited from Menu.)
Public property DynamicPopOutImageTextFormatString (Inherited from Menu.)
Public property DynamicPopOutImageUrl (Inherited from Menu.)
Public property DynamicSelectedStyle (Inherited from Menu.)
Public property DynamicTopSeparatorImageUrl (Inherited from Menu.)
Public property DynamicVerticalOffset (Inherited from Menu.)
Public property Editable Controls whether the AspMenu control is client (in-line) editable
Public property Enabled (Inherited from WebControl.)
Public property EnableTheming (Inherited from WebControl.)
Public property EnableViewState (Inherited from Control.)
Public property EncodeTitle Controls whether or not to HTML-encode the title value. The default ASP.NET 2.0 menu did not encode the title so this option is provided for backwards-compatibility.
Protected property Events (Inherited from Control.)
Public property Font (Inherited from WebControl.)
Public property ForeColor (Inherited from WebControl.)
Public property HasAttributes (Inherited from WebControl.)
Protected property HasChildViewState (Inherited from Control.)
Public property Height (Inherited from WebControl.)
Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Public property IncludeStyleBlock (Inherited from Menu.)
Protected property Initialized (Inherited from BaseDataBoundControl.)
Protected property IsBoundUsingDataSourceID (Inherited from BaseDataBoundControl.)
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 Items (Inherited from Menu.)
Public property ItemWrap (Inherited from Menu.)
Public property LevelMenuItemStyles (Inherited from Menu.)
Public property LevelSelectedStyles (Inherited from Menu.)
Public property LevelSubMenuStyles (Inherited from Menu.)
Protected property LoadViewStateByID (Inherited from Control.)
Public property MaximumDynamicDisplayLevels (Inherited from Menu.)
Public property NamingContainer (Inherited from Control.)
Public property Orientation (Inherited from Menu.)
Public property Page (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property PathSeparator (Inherited from Menu.)
Public property PerformTargetBinding Gets or sets a value that indicates whether target binding is performed for the control.
Public property RenderBlankImage Controls whether or not to render a blank image even if the menu item doesn't have an image specified.
Public property RenderingCompatibility (Inherited from Control.)
Public property RenderingMode (Inherited from Menu.)
Protected property RequiresDataBinding (Inherited from BaseDataBoundControl.)
Public property ScrollDownImageUrl (Inherited from Menu.)
Public property ScrollDownText (Inherited from Menu.)
Public property ScrollUpImageUrl (Inherited from Menu.)
Public property ScrollUpText (Inherited from Menu.)
Public property SelectedItem (Inherited from Menu.)
Public property SelectedValue (Inherited from Menu.)
Public property SelectStaticItemsOnly Gets or sets a value that indicates whether to select only static items for the control.
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from WebControl.)
Public property SkipLinkText (Inherited from Menu.)
Public property StaticBottomSeparatorImageUrl (Inherited from Menu.)
Public property StaticDisplayLevels
Public property StaticEnableDefaultPopOutImage (Inherited from Menu.)
Public property StaticHoverStyle (Inherited from Menu.)
Public property StaticItemFormatString (Inherited from Menu.)
Public property StaticItemTemplate (Inherited from Menu.)
Public property StaticMenuItemStyle (Inherited from Menu.)
Public property StaticMenuStyle (Inherited from Menu.)
Public property StaticPopOutImageTextFormatString (Inherited from Menu.)
Public property StaticPopOutImageUrl (Inherited from Menu.)
Public property StaticSelectedStyle (Inherited from Menu.)
Public property StaticSubMenuIndent (Inherited from Menu.)
Public property StaticTopSeparatorImageUrl (Inherited from Menu.)
Public property Style (Inherited from WebControl.)
Public property SupportsDisabledAttribute (Inherited from BaseDataBoundControl.)
Public property TabIndex (Inherited from WebControl.)
Protected property TagKey (Inherited from Menu.)
Protected property TagName (Inherited from WebControl.)
Public property Target (Inherited from Menu.)
Public property TemplateControl (Inherited from Control.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property ToolTip (Inherited from WebControl.)
Public property UniqueID (Inherited from Control.)
Public property UseSeparateCSS Controls whether a reference to the required cascading style sheet (CSS) file for this control is automatically added to the page source.
Public property UseSimpleRendering Controls whether to use simple unordered list-based rendering or the default Microsoft ASP.NET table-based rendering.
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property ViewStateMode (Inherited from Control.)
Public property Visible (Inherited from Control.)
Public property Width (Inherited from WebControl.)

Top

Methods

  Name Description
Protected method AddAttributesToRender (Inherited from Menu.)
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.)
Protected method ConfirmInitState (Inherited from BaseDataBoundControl.)
Public method CopyBaseAttributes (Inherited from WebControl.)
Protected method CreateChildControls (Inherited from Menu.)
Protected method CreateControlCollection (Inherited from Control.)
Protected method CreateControlStyle (Inherited from WebControl.)
Public method DataBind() (Inherited from Menu.)
Protected method DataBind(Boolean) (Inherited from Control.)
Protected method DataBindChildren (Inherited from Control.)
Public method Dispose (Inherited from Control.)
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureDataBound (Inherited from Menu.)
Protected method EnsureID (Inherited from Control.)
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 FindItem (Inherited from Menu.)
Public method Focus (Inherited from Control.)
Public method GetCallbackResult
Protected method GetData (Inherited from HierarchicalDataBoundControl.)
Protected method GetDataSource (Inherited from HierarchicalDataBoundControl.)
Protected method GetDesignModeState (Overrides Menu.GetDesignModeState().)
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.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method LoadControlState (Inherited from Menu.)
Protected method LoadViewState (Inherited from Menu.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MarkAsDataBound (Inherited from HierarchicalDataBoundControl.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MergeStyle (Inherited from WebControl.)
Protected method OnBubbleEvent (Inherited from Menu.)
Protected method OnDataBinding (Inherited from Menu.)
Protected method OnDataBound (Inherited from BaseDataBoundControl.)
Protected method OnDataPropertyChanged (Inherited from HierarchicalDataBoundControl.)
Protected method OnDataSourceChanged (Inherited from HierarchicalDataBoundControl.)
Protected method OnInit (Inherited from Menu.)
Protected method OnLoad (Inherited from HierarchicalDataBoundControl.)
Protected method OnMenuItemClick (Inherited from Menu.)
Protected method OnMenuItemDataBound (Overrides Menu.OnMenuItemDataBound(MenuEventArgs).)
Protected method OnPagePreLoad (Inherited from HierarchicalDataBoundControl.)
Protected method OnPreRender (Overrides Menu.OnPreRender(EventArgs).)
Protected method OnUnload (Inherited from Control.)
Protected method OpenFile (Inherited from Control.)
Protected method PerformDataBinding (Overrides Menu.PerformDataBinding().)
Protected method PerformSelect (Inherited from HierarchicalDataBoundControl.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Public method RaiseCallbackEvent
Protected method RaisePostBackEvent (Inherited from Menu.)
Protected method RemovedControl (Inherited from Control.)
Protected method Render (Overrides Menu.Render(HtmlTextWriter).)
Public method RenderBeginTag (Overrides Menu.RenderBeginTag(HtmlTextWriter).)
Protected method RenderChildren (Inherited from Control.)
Protected method RenderContents (Overrides Menu.RenderContents(HtmlTextWriter).)
Public method RenderControl(HtmlTextWriter) (Inherited from Control.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Public method RenderEndTag (Overrides Menu.RenderEndTag(HtmlTextWriter).)
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Protected method SaveControlState (Inherited from Menu.)
Protected method SaveViewState (Inherited from Menu.)
Protected method SetDesignModeState (Inherited from Menu.)
Protected method SetItemDataBound (Inherited from Menu.)
Protected method SetItemDataItem (Inherited from Menu.)
Protected method SetItemDataPath (Inherited from Menu.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from Menu.)
Protected method ValidateDataSource (Inherited from HierarchicalDataBoundControl.)

Top

Events

  Name Description
Public event DataBinding (Inherited from Control.)
Public event DataBound (Inherited from BaseDataBoundControl.)
Public event Disposed (Inherited from Control.)
Public event Init (Inherited from Control.)
Public event Load (Inherited from Control.)
Public event MenuItemClick (Inherited from Menu.)
Public event MenuItemDataBound (Inherited from Menu.)
Public event PreRender (Inherited from Control.)
Public event Unload (Inherited from Control.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IParserAccessor.AddParsedSubObject (Inherited from Control.)
Explicit interface implemetationPrivate property IControlBuilderAccessor.ControlBuilder (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.DataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.Expressions (Inherited from Control.)
Explicit interface implemetationPrivate method IAttributeAccessor.GetAttribute (Inherited from WebControl.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.GetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.HasDataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.HasExpressions (Inherited from Control.)
Explicit interface implemetationPrivate method IPostBackEventHandler.RaisePostBackEvent (Inherited from Menu.)
Explicit interface implemetationPrivate method IAttributeAccessor.SetAttribute (Inherited from WebControl.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetOwnerControl (Inherited from Control.)
Explicit interface implemetationPrivate property IControlDesignerAccessor.UserData (Inherited from Control.)

Top

See also

Reference

AspMenu class

Microsoft.SharePoint.WebControls namespace