WebPartManager.SkinID Property

 

Gets or sets an empty string ("") so that no skin can be applied to the WebPartManager control.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

[BrowsableAttribute(false)]
public override string SkinID { get; set; }

Property Value

Type: System.String

An 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.

.NET Framework
Available since 2.0
Return to top
Show: