SkinBuilder Constructor (ThemeProvider, Control, ControlBuilder, String)


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.

.NET Framework
Available since 2.0
Return to top