Silverlight.RenderContents Method
Renders the contents of the control to the specified HtmlTextWriter writer. This method is primarily used by control developers.
Namespace: System.Web.UI.SilverlightControls
Assembly: System.Web.Silverlight (in System.Web.Silverlight.dll)
Syntax
'Declaration
Protected Overrides Sub RenderContents ( _
writer As HtmlTextWriter _
)
'Usage
Dim writer As HtmlTextWriter
Me.RenderContents(writer)
protected override void RenderContents(
HtmlTextWriter writer
)
Parameters
- writer
Type: HtmlTextWriter
An HtmlTextWriter instance that represents the output stream that is used to render HTML content to the client.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The specified writer is not a valid HtmlTextWriter |
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.