Modifica

Condividi tramite


SkinBuilder(ThemeProvider, Control, ControlBuilder, String) Constructor

Definition

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.

public:
 SkinBuilder(System::Web::UI::ThemeProvider ^ provider, System::Web::UI::Control ^ control, System::Web::UI::ControlBuilder ^ skinBuilder, System::String ^ themePath);
public SkinBuilder (System.Web.UI.ThemeProvider provider, System.Web.UI.Control control, System.Web.UI.ControlBuilder skinBuilder, string themePath);
new System.Web.UI.SkinBuilder : System.Web.UI.ThemeProvider * System.Web.UI.Control * System.Web.UI.ControlBuilder * string -> System.Web.UI.SkinBuilder
Public Sub New (provider As ThemeProvider, control As Control, skinBuilder As ControlBuilder, themePath As String)

Parameters

provider
ThemeProvider

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

control
Control

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

skinBuilder
ControlBuilder

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

themePath
String

The absolute path to the theme file.

Remarks

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.

Applies to

See also