Menu.AddAttributesToRender(HtmlTextWriter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds HTML attributes and styles that need to be rendered to the specified HtmlTextWriter object.
protected:
override void AddAttributesToRender(System::Web::UI::HtmlTextWriter ^ writer);
protected override void AddAttributesToRender (System.Web.UI.HtmlTextWriter writer);
override this.AddAttributesToRender : System.Web.UI.HtmlTextWriter -> unit
Protected Overrides Sub AddAttributesToRender (writer As HtmlTextWriter)
Parameters
- writer
- HtmlTextWriter
The output stream that renders HTML contents to the client.
Remarks
The Menu control overrides the AddAttributesToRender method to reset the AccessKey property to Empty. This member is primarily used by control developers when deriving a custom control from the Menu class.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.