Share via


WebPartGallerySource members

Represents an abstract class that provides the method signatures to allow the WebPartGalleryItem objects to be added to the WebPartAdder.

The WebPartGallerySource type exposes the following members.

Constructors

  Name Description
Protected method WebPartGallerySource Initializes a new instance of the WebPartGallerySource class.

Top

Properties

  Name Description
Public property Id When overridden in a derived class, gets the ID of this source.
Public property InvalidateAfterAdd When overridden in a derived class, gets a value that indicates whether adding an item to the page invalidates any lists of items previously returned from GetItems().

Top

Methods

  Name Description
Public method AddItemToPage When overridden in a derived class, adds the WebPartGalleryItem represented by the WebPart to the page.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetItems When overridden in a derived class, returns the WebPartGalleryItem objects that can be added to the WebPartAdder.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

WebPartGallerySource class

Microsoft.SharePoint.WebPartPages namespace