WebPartManager::SkinID Property
Gets or sets an empty string ("") so that no skin can be applied to the WebPartManager control.
Assembly: System.Web (in System.Web.dll)
[BrowsableAttribute(false)] public: virtual property String^ SkinID { String^ get () override; void set (String^ value) override; }
<asp:WebPartManager SkinID="String" />
Property Value
Type: System::StringAn empty string that prevents the WebPartManager control from having a skin assigned to it.
| Exception | Condition |
|---|---|
| NotSupportedException | An attempt was made to set the property value. |
The SkinID property overrides the inherited Control::SkinID property to prevent the WebPartManager control, which is an invisible control, from using skins. The implementation of the property prevents a skin from being assigned by always returning an empty string from the get accessor, and always throwing an exception if there is an attempt to set a value in the set accessor.
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
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.