Edytuj

Udostępnij za pośrednictwem


DropDownList.AddAttributesToRender(HtmlTextWriter) Method

Definition

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

An HtmlTextWriter that represents the output stream that renders HTML contents to the client.

Remarks

This member is used primarily by control developers when deriving a custom control from the DropDownList class.

Applies to