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)
Available in Sandboxed Solutions: No
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.