WebPartPreview class
Provides a preview of a Web Part in the Web Part catalog.
Inheritance hierarchy
System.Object
System.Web.UI.Control
Microsoft.SharePoint.WebPartPages.WebPartPreview
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Public NotInheritable Class WebPartPreview _
Inherits Control
'Usage
Dim instance As WebPartPreview
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public sealed class WebPartPreview : Control
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.