WebPartGalleryItemBase Class

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

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public abstract class WebPartGalleryItemBase : WebPartGalleryItem

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.