This documentation is archived and is not being maintained.

MenuAdapter Members

Provides the means to modify the behavior of the Menu control for specific browsers.

The MenuAdapter type exposes the following members.

  NameDescription
Public method MenuAdapter Initializes a new instance of the MenuAdapter class.
Top

  NameDescription
Protected method BeginRender Called prior to the rendering of a control. In a derived adapter class, generates opening tags that are required by a specific target but not needed by HTML browsers. (Inherited from ControlAdapter.)
Protected method CreateChildControls Creates the target-specific child controls for a composite control. (Inherited from ControlAdapter.)
Protected method EndRender Called after the rendering of a control. In a derived adapter class, generates closing tags that are required by a specific target but not needed by HTML browsers. (Inherited from ControlAdapter.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method LoadAdapterControlState Loads any control state information that was saved by the SaveAdapterControlState method during a previous request to the page. (Overrides ControlAdapter::LoadAdapterControlState(Object).)
Protected method LoadAdapterViewState Loads adapter view state information that was saved by SaveAdapterViewState during a previous request to the page where the control associated with this control adapter resides. (Inherited from ControlAdapter.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnInit Registers the associated Menu control as one that requires control state. (Overrides ControlAdapter::OnInit(EventArgs).)
Protected method OnLoad Overrides the OnLoad method for the associated control. (Inherited from ControlAdapter.)
Protected method OnPreRender Handles the OnPreRender method for the associated Menu control. (Overrides ControlAdapter::OnPreRender(EventArgs).)
Protected method OnUnload Overrides the OnUnload method for the associated control. (Inherited from ControlAdapter.)
Protected method RaisePostBackEvent Used to maintain the path of the menu when a postback event is raised.
Protected method Render Generates the target-specific markup for the control to which the control adapter is attached. (Inherited from WebControlAdapter.)
Protected method RenderBeginTag Adds tag attributes and writes the markup for the opening tag of the control to the output stream emitted to the browser or device. (Overrides WebControlAdapter::RenderBeginTag(HtmlTextWriter).)
Protected method RenderChildren Generates the target-specific markup for the child controls in a composite control to which the control adapter is attached. (Inherited from ControlAdapter.)
Protected method RenderContents Writes the associated menu items in the associated Menu control to the output stream as a series of hyperlinks. (Overrides WebControlAdapter::RenderContents(HtmlTextWriter).)
Protected method RenderEndTag Creates final markup and writes the markup for the closing tag of the control to the output stream emitted to the browser or device. (Overrides WebControlAdapter::RenderEndTag(HtmlTextWriter).)
Protected method RenderItem Renders a single menu item as a hyperlink.
Protected method SaveAdapterControlState Saves any changes to the adapter private control state that have occurred since the page was posted back to the server. (Overrides ControlAdapter::SaveAdapterControlState().)
Protected method SaveAdapterViewState Saves view state information for the control adapter. (Inherited from ControlAdapter.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Protected property Browser Gets a reference to the browser capabilities of the client making the current HTTP request. (Inherited from ControlAdapter.)
Protected property Control Retrieves a strongly typed reference to the Menu control associated with this MenuAdapter object.
Protected property IsEnabled Gets a value indicating whether the Web control and all its parent controls are enabled. (Inherited from WebControlAdapter.)
Protected property Page Gets a reference to the page where the control associated with this adapter resides. (Inherited from ControlAdapter.)
Protected property PageAdapter Gets a reference to the page adapter for the page where the associated control resides. (Inherited from ControlAdapter.)
Top

  NameDescription
Explicit interface implemetation Private method IPostBackEventHandler::RaisePostBackEvent Enables the MenuAdapter class to process an event raised when a page is posted back to the server.
Top
Show: