WebPartGalleryItemBase class

Provides an abstract class for the base implementation of the WebPartGalleryItem class.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.WebPartPages.WebPartGalleryItem
    Microsoft.SharePoint.WebPartPages.WebPartGalleryItemBase
      Microsoft.SharePoint.WebPartPages.WebPartGalleryXmlItemBase

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public MustInherit Class WebPartGalleryItemBase _
    Inherits WebPartGalleryItem
'Usage
Dim instance As WebPartGalleryItemBase
public abstract class WebPartGalleryItemBase : WebPartGalleryItem

Remarks

This abstract class simplifies the task of implementing a WebPartGalleryItem by providing methods to instantiate WebPart controls from Web Part XML (.dwp or .webpart) documents and to get a Hypertext Markup Language (HTML) preview for a WebPart.

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.

See also

Reference

WebPartGalleryItemBase members

Microsoft.SharePoint.WebPartPages namespace