System.Web.UI.ThemeProvider.GetSkinBuilder Method

Retrieves a System.Web.UI.SkinBuilder instance for the specified control, which is used to apply a theme and control skin in a designer environment.

Syntax

public SkinBuilder GetSkinBuilder (Control control)

Parameters

control
The control to apply a theme and control skin to.

Returns

A System.Web.UI.SkinBuilder instance, if one is defined for the specified control type; otherwise, null.

Remarks

The ThemeProvider.GetSkinBuilder(Control) method is called by the System.Web.UI.ControlBuilder base class to apply a theme and any control skin to a control when it is built at design time.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0