TableItemStyle.AddAttributesToRender(HtmlTextWriter, WebControl) 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 information about horizontal alignment, vertical alignment, and wrap to the list of attributes to render.
public:
override void AddAttributesToRender(System::Web::UI::HtmlTextWriter ^ writer, System::Web::UI::WebControls::WebControl ^ owner);
public override void AddAttributesToRender (System.Web.UI.HtmlTextWriter writer, System.Web.UI.WebControls.WebControl owner);
override this.AddAttributesToRender : System.Web.UI.HtmlTextWriter * System.Web.UI.WebControls.WebControl -> unit
Public Overrides Sub AddAttributesToRender (writer As HtmlTextWriter, owner As WebControl)
Parameters
- writer
- HtmlTextWriter
The output stream that renders HTML content to the client.
- owner
- WebControl
The control that the style refers to.
Remarks
The AddAttributesToRender method is used primarily by control developers to insert additional attributes and styles in the HtmlTextWriter output stream for the TableItemStyle. The AddAttributesToRender method overrides the AddAttributesToRender method.
Applies to
See also
.NET