WebPartGalleryXmlItemBase members

Represents a WebPart that is loaded from the Web Part XML.

The WebPartGalleryXmlItemBase type exposes the following members.

Constructors

  Name Description
Protected method WebPartGalleryXmlItemBase Initializes a new instance of the WebPartGalleryXmlItemBase 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 Gets the description of the WebPart item contained in the Web Part XML document. (Overrides WebPartGalleryItem.Description.)
Public property IconUrl Gets the URL that references an icon to be displayed with the item. (Overrides WebPartGalleryItem.IconUrl.)
Public property Id When overridden in a derived class, gets the ID for this item. (Inherited from WebPartGalleryItem.)
Public property IsRecommended Gets a value that indicates whether the item is recommended for the current page. (Overrides WebPartGalleryItem.IsRecommended.)
Public property IsSafeAgainstScript (Inherited from WebPartGalleryItemBase.)
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. (Inherited from WebPartGalleryItemBase.)
Public property RibbonCommand A string that contains the Server ribbon command ID for the control. (Inherited from WebPartGalleryItemBase.)
Public property Source Gets the WebPartGallerySource from which this item was retrieved. (Inherited from WebPartGalleryItemBase.)
Public property Title Gets the title of the WebPart item contained in the Web Part XML document. (Overrides WebPartGalleryItem.Title.)
Public property V3PickerKey Gets the Web Part key that is compatible with the Windows SharePoint Services 3.0 Web Part picker. (Inherited from WebPartGalleryItemBase.)
Public property WebPartContent Gets or sets embedded HTML that provides content for this WebPart. (Inherited from WebPartGalleryItemBase.)

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. (Inherited from WebPartGalleryItemBase.)
Public method GetType (Inherited from Object.)
Public method Instantiate Instantiates the WebPart represented by this item. (Overrides WebPartGalleryItemBase.Instantiate().)
Protected method InstantiateFromXml(String) Instantiates a WebPart with a string that contains the XML. (Inherited from WebPartGalleryItemBase.)
Protected method InstantiateFromXml(XmlDocument) Instantiates a WebPart with the specified XmlDocument. (Inherited from WebPartGalleryItemBase.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

WebPartGalleryXmlItemBase class

Microsoft.SharePoint.WebPartPages namespace