SkinBuilder Constructor (ThemeProvider, Control, ControlBuilder, String)
.NET Framework (current version)
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.
Assembly: System.Web (in System.Web.dll)
public SkinBuilder( ThemeProvider provider, Control control, ControlBuilder skinBuilder, string themePath )
Parameters
- provider
-
Type:
System.Web.UI.ThemeProvider
A ThemeProvider that encapsulates theme information for controls in a designer environment.
- control
-
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.
- skinBuilder
-
Type:
System.Web.UI.ControlBuilder
A ControlBuilder provided by the ThemeProvider for the control's type.
- themePath
-
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
Available since 2.0
Show: