WebPartGalleryItemBase Members

Include Protected Members
Include Inherited Members

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

The WebPartGalleryItemBase type exposes the following members.

Constructors

  Name Description
Protected method WebPartGalleryItemBase Initializes a new instance of the WebPartGalleryItemBase class with the specified context information.

Top

Properties

  Name Description
Public property Category When overridden in a derived class, gets the name of the category in which the item is displayed. (Inherited from WebPartGalleryItem.)
Public property Description When overridden in a derived class, gets the description of the item. (Inherited from WebPartGalleryItem.)
Public property IconUrl When overridden in a derived class, gets a URL that references an icon to be displayed along with the item. (Inherited from WebPartGalleryItem.)
Public property Id When overridden in a derived class, gets the ID for this item. (Inherited from WebPartGalleryItem.)
Public property IsRecommended When overridden in a derived class, gets a value that indicates whether the item is recommended for the current page. (Inherited from WebPartGalleryItem.)
Public property IsSafeAgainstScript (Overrides WebPartGalleryItem.IsSafeAgainstScript.)
Public property OnClientAdd Gets the client ECMAScript (JavaScript, JScript) function name that will be called when the user clicks the Add button in the WebPartAdder control to add the selected the WebPart. (Overrides WebPartGalleryItem.OnClientAdd.)
Public property RibbonCommand A string that contains the Server ribbon command ID for the control. (Overrides WebPartGalleryItem.RibbonCommand.)
Public property Source Gets the WebPartGallerySource from which this item was retrieved. (Overrides WebPartGalleryItem.Source.)
Public property Title When overridden in a derived class, gets the title of the item. (Inherited from WebPartGalleryItem.)
Public property V3PickerKey Gets the Web Part key that is compatible with the Windows SharePoint Services 3.0 Web Part picker. (Overrides WebPartGalleryItem.V3PickerKey.)
Public property WebPartContent Gets or sets embedded HTML that provides content for this WebPart. (Overrides WebPartGalleryItem.WebPartContent.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetPreviewHtml Returns an HTML preview for this WebPart. (Overrides WebPartGalleryItem.GetPreviewHtml().)
Public method GetType (Inherited from Object.)
Public method Instantiate When overridden in a derived class, instantiates the WebPart represented by this item.
Protected method InstantiateFromXml(String) Instantiates a WebPart with a string that contains the XML.
Protected method InstantiateFromXml(XmlDocument) Instantiates a WebPart with the specified XmlDocument.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

WebPartGalleryItemBase Class

Microsoft.SharePoint.WebPartPages Namespace