ThemeProvider.GetSkinBuilder(Control) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.