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, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.