Export (0) Print
Expand All

WebPartManager.SkinID Property

Note: This property is new in the .NET Framework version 2.0.

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)

public override string SkinID { get; set; }
/** @property */
public String get_SkinID ()

/** @property */
public void set_SkinID (String value)

public override function get SkinID () : String

public override function set SkinID (value : String)

Property Value

An empty string that prevents the WebPartManager control from having a skin assigned to it.

Exception typeCondition

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 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2015 Microsoft