WebPartManager.SkinID Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈