Rediger

Del via


ThemeProvider.GetSkinBuilder(Control) Method

Definition

Retrieves a SkinBuilder instance for the specified control, which is used to apply a theme and control skin in a designer environment.

public:
 System::Web::UI::SkinBuilder ^ GetSkinBuilder(System::Web::UI::Control ^ control);
public System.Web.UI.SkinBuilder GetSkinBuilder (System.Web.UI.Control control);
member this.GetSkinBuilder : System.Web.UI.Control -> System.Web.UI.SkinBuilder
Public Function GetSkinBuilder (control As Control) As SkinBuilder

Parameters

control
Control

The control to apply a theme and control skin to.

Returns

A SkinBuilder instance, if one is defined for the specified control type; otherwise, null.

Remarks

The GetSkinBuilder method is called by the ControlBuilder base class to apply a theme and any control skin to a control when it is built at design time.

Applies to

See also