Gets or sets the skin to apply to the control.
Assembly: System.Web (in System.Web.dll)
The skin specified in the property does not exist in the theme.
Skins available to a control are contained in one or more skin files in a theme directory. The property specifies which of these skins to apply to the control. A skin is specific to a particular control; you cannot share skin setting between controls of different types.
If you do not set the property, a control uses the default skin if one is defined. For example, if a skin without an ID is defined for an Image control, then that skin applies to all Image controls that do not explicitly reference a skin by ID and that are not set to disable theming. If a skin with an ID is defined for an Image control, then that skin applies to only Image controls whose is set to that ID.
If the skin files in a theme directory do not contain a skin with the specified , an ArgumentException exception is thrown at runtime.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2