Επεξεργασία

Κοινή χρήση μέσω


ControlSkin(Type, ControlSkinDelegate) Constructor

Definition

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

public:
 ControlSkin(Type ^ controlType, System::Web::UI::ControlSkinDelegate ^ themeDelegate);
public ControlSkin (Type controlType, System.Web.UI.ControlSkinDelegate themeDelegate);
new System.Web.UI.ControlSkin : Type * System.Web.UI.ControlSkinDelegate -> System.Web.UI.ControlSkin
Public Sub New (controlType As Type, themeDelegate As ControlSkinDelegate)

Parameters

controlType
Type

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

themeDelegate
ControlSkinDelegate

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

Applies to