ControlSkin(Type, ControlSkinDelegate) Konstruktor

Definition

Skapar en ny instans av klassen med hjälp av ControlSkin den anförda Control typen och ombudet.

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)

Parametrar

controlType
Type

Den Type som Control huden appliceras på, används för att framtvinga typkonsekvens bland namngivna skinn.

themeDelegate
ControlSkinDelegate

Det ControlSkinDelegate som tillämpar formatelementen som definierats i en kontrollskalfil på den typ som identifieras av parametern controlType .

Gäller för