WebPartGallerySourceBase members

Provides an abstract base class for implementing Web Part gallery sources.

The WebPartGallerySourceBase type exposes the following members.

Constructors

  Name Description
Protected method WebPartGallerySourceBase Initializes a new instance of the WebPartGallerySourceBase class with the page that hosts the WebPartAdder.

Top

Properties

  Name Description
Public property Id Gets the ID of this source. (Overrides WebPartGallerySource.Id.)
Public property InvalidateAfterAdd Gets a value that indicates whether adding an item to the page invalidates any lists of items previously returned from GetItems(). (Overrides WebPartGallerySource.InvalidateAfterAdd.)
Protected property Page Gets the Page on which the WebPartAdder resides.

Top

Methods

  Name Description
Protected method AddItemToPage(WebPartZoneBase, Int32, WebPart) Adds the specified WebPart to the page.
Public method AddItemToPage(WebPartZoneBase, Int32, WebPartGalleryItem, String) Adds the WebPartGalleryItem that is represented by the WebPart class. (Overrides WebPartGallerySource.AddItemToPage(WebPartZoneBase, Int32, WebPartGalleryItem, String).)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetItems Returns the array of WebPartGalleryItem items that are managed by this WebPartGallerySource. (Overrides WebPartGallerySource.GetItems().)
Protected method GetItemsCore When overridden in a derived class, returns the WebPartGalleryItem items from this source.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

WebPartGallerySourceBase class

Microsoft.SharePoint.WebPartPages namespace