共用方式為


ControlSkin(Type, ControlSkinDelegate) 建構函式

定義

使用傳遞過來的 ControlSkin 型別與委派,建立 Control 類別的新執行個體。

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)

參數

controlType
Type

要套用此面板之 TypeControl,用以強制各具名面板的型別一致。

themeDelegate
ControlSkinDelegate

將控制面板檔案中定義的樣式項目套用至 controlType 參數指定型別的 ControlSkinDelegate

適用於