ControlSkin Constructor (Type, ControlSkinDelegate)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates a new instance of the ControlSkin class using the passed Control type and delegate.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

new : 
        controlType:Type *
        themeDelegate:ControlSkinDelegate -> ControlSkin

Parameters

controlType
Type: System.Type

The Type of Control to which the skin is applied, used to enforce type consistency among named skins.

themeDelegate
Type: System.Web.UI.ControlSkinDelegate

The ControlSkinDelegate that applies the style elements defined in a control skin file to the type identified by the controlType parameter.

.NET Framework
Available since 2.0
Return to top
Show: