Redigera

Dela via


WebPartManager.SkinID Property

Definition

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

public:
 virtual property System::String ^ SkinID { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
public override string SkinID { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.SkinID : string with get, set
Public Overrides Property SkinID As String

Property Value

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

Attributes

Exceptions

An attempt was made to set the property value.

Remarks

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.

Applies to

See also