Export (0) Print
Expand All

SkinBuilder Constructor

Initializes a new instance of the SkinBuilder class, setting the control with which the builder is associated, the general ControlBuilder object provided by the ThemeProvider object for the control, and a path to the theme file.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public SkinBuilder(
	ThemeProvider provider,
	Control control,
	ControlBuilder skinBuilder,
	string themePath


Type: System.Web.UI.ThemeProvider

A ThemeProvider that encapsulates theme information for controls in a designer environment.

Type: System.Web.UI.Control

The Control with which the SkinBuilder is associated. The ApplyTheme method applies a control skin to this control and returns it.

Type: System.Web.UI.ControlBuilder

A ControlBuilder provided by the ThemeProvider for the control's type.

Type: System.String

The absolute path to the theme file.

This constructor is called by the GetSkinBuilder method of the ThemeProvider class to return a SkinBuilder object for the control specified in the control parameter.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

© 2014 Microsoft