This documentation is archived and is not being maintained.

SkinBuilder.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
)
public SkinBuilder (
	ThemeProvider provider, 
	Control control, 
	ControlBuilder skinBuilder, 
	String themePath
)
public function SkinBuilder (
	provider : ThemeProvider, 
	control : Control, 
	skinBuilder : ControlBuilder, 
	themePath : String
)
Not applicable.

Parameters

provider

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

control

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

skinBuilder

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

themePath

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 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: