ControlSkin(Type, ControlSkinDelegate) Constructor
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.