WebPartGalleryItemBase 成员

提供用于WebPartGalleryItem类的基实现抽象类。

WebPartGalleryItemBase 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 WebPartGalleryItemBase 初始化与指定的上下文信息的WebPartGalleryItemBase类的新实例。

页首

属性

  名称 说明
公共属性 Category 当在某个派生类中重写,获取在其中显示项目的类别的名称。 (从 WebPartGalleryItem 继承。)
公共属性 Description 当在某个派生类中重写,获取项目的说明。 (从 WebPartGalleryItem 继承。)
公共属性 IconUrl 当在某个派生类中重写,获取引用项目以及要显示的图标的 URL。 (从 WebPartGalleryItem 继承。)
公共属性 Id 当在某个派生类中重写,获取此项的 ID。 (从 WebPartGalleryItem 继承。)
公共属性 IsRecommended 当在某个派生类中重写,获取一个值,指示当前页是否建议的项目。 (从 WebPartGalleryItem 继承。)
公共属性 IsSafeAgainstScript (覆盖 WebPartGalleryItem.IsSafeAgainstScript。)
公共属性 OnClientAdd 获取客户端ECMAScript (JavaScript, JScript)函数名用户单击添加时将调用按钮中添加选定的WebPartAdder控件WebPart。 (覆盖 WebPartGalleryItem.OnClientAdd。)
公共属性 RibbonCommand 一个字符串,包含控件的服务器功能区命令 ID。 (覆盖 WebPartGalleryItem.RibbonCommand。)
公共属性 Source 获取WebPartGallerySource从中检索到此项。 (覆盖 WebPartGalleryItem.Source。)
公共属性 Title 当在某个派生类中重写,获取项的标题。 (从 WebPartGalleryItem 继承。)
公共属性 V3PickerKey 获取与Windows SharePoint Services 3.0 Web 部件选取器兼容的 Web 部件键。 (覆盖 WebPartGalleryItem.V3PickerKey。)
公共属性 WebPartContent 获取或设置嵌入此WebPart提供内容的 HTML。 (覆盖 WebPartGalleryItem.WebPartContent。)

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetPreviewHtml 返回此WebPartHTML 预览。 (覆盖 WebPartGalleryItem.GetPreviewHtml()。)
公共方法 GetType (从 Object 继承。)
公共方法 Instantiate 当在某个派生类中重写,实例化WebPart由该项表示。
受保护的方法 InstantiateFromXml(String) 实例化一个字符串,包含 XML 与WebPart
受保护的方法 InstantiateFromXml(XmlDocument) 实例化与指定XmlDocumentWebPart
受保护的方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

另请参阅

引用

WebPartGalleryItemBase 类

Microsoft.SharePoint.WebPartPages 命名空间