Compartilhar via


WebPartGalleryItem Members

Include Protected Members
Include Inherited Members

Provides the abstract class that represents a single item in the WebPartAdder.

The WebPartGalleryItem type exposes the following members.

Constructors

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

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

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 When overridden in a derived class, returns a Hypertext Markup Language (HTML) preview of the WebPart.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

WebPartGalleryItem Class

Microsoft.SharePoint.WebPartPages Namespace