ToolPart 成员

定义显示定义 Web 部件工具窗格内部的属性的自定义的用户界面的自定义工具部件。

ToolPart 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 ToolPart 初始化ToolPart类的新实例。

页首

属性

  名称 说明
公共属性 AccessKey (从 WebControl 继承。)
受保护的属性 Adapter (从 Control 继承。)
公共属性 AllowMinimize 获取或设置一个值,指示用户是否可以减少工具部件。
公共属性 AppRelativeTemplateSourceDirectory (从 Control 继承。)
公共属性 Attributes (从 WebControl 继承。)
公共属性 BackColor (从 WebControl 继承。)
公共属性 BackImageUrl (从 Panel 继承。)
公共属性 BindingContainer (从 Control 继承。)
公共属性 BorderColor (从 WebControl 继承。)
公共属性 BorderStyle (从 WebControl 继承。)
公共属性 BorderWidth (从 WebControl 继承。)
受保护的属性 ChildControlsCreated (从 Control 继承。)
公共属性 ChromeState (从 Part 继承。)
公共属性 ChromeType (从 Part 继承。)
公共属性 ClientID (从 Control 继承。)
公共属性 ClientIDMode (从 Control 继承。)
受保护的属性 ClientIDSeparator (从 Control 继承。)
受保护的属性 Context (从 Control 继承。)
公共属性 Controls (从 Part 继承。)
公共属性 ControlStyle (从 WebControl 继承。)
公共属性 ControlStyleCreated (从 WebControl 继承。)
公共属性 CssClass (从 WebControl 继承。)
公共属性 DataItemContainer (从 Control 继承。)
公共属性 DataKeysContainer (从 Control 继承。)
公共属性 DefaultButton (从 Panel 继承。)
公共属性 Description (从 Part 继承。)
受保护的属性 DesignMode (从 Control 继承。)
公共属性 Direction (从 Panel 继承。)
公共属性 Display (覆盖 EditorPart.Display。)
公共属性 DisplayTitle (从 EditorPart 继承。)
公共属性 Enabled (从 WebControl 继承。)
公共属性 EnableTheming (从 WebControl 继承。)
公共属性 EnableViewState (从 Control 继承。)
公共属性 ErrorText 获取或设置要出现错误时工具部件中显示的文本。
受保护的属性 Events (从 Control 继承。)
公共属性 Font (从 WebControl 继承。)
公共属性 ForeColor (从 WebControl 继承。)
公共属性 FrameState 已过时。获取或设置工具部件框架状态。
公共属性 FrameType 已过时。获取或设置围绕工具部件的框架的类型。
公共属性 GroupingText (从 Panel 继承。)
公共属性 HasAttributes (从 WebControl 继承。)
受保护的属性 HasChildViewState (从 Control 继承。)
公共属性 Height (从 WebControl 继承。)
公共属性 HorizontalAlign (从 Panel 继承。)
公共属性 ID (从 Control 继承。)
受保护的属性 IdSeparator (从 Control 继承。)
受保护的属性 IsChildControlStateCleared (从 Control 继承。)
受保护的属性 IsEnabled (从 WebControl 继承。)
受保护的属性 IsTrackingViewState (从 Control 继承。)
受保护的属性 IsViewStateEnabled (从 Control 继承。)
受保护的属性 LoadViewStateByID (从 Control 继承。)
公共属性 NamingContainer (从 Control 继承。)
公共属性 Page (从 Control 继承。)
公共属性 Parent (从 Control 继承。)
受保护的属性 ParentToolPane 获取包含工具部件ToolPane
公共属性 Qualifier 获取工具部件的唯一标识符。
公共属性 RenderingCompatibility (从 Control 继承。)
公共属性 ScrollBars (从 Panel 继承。)
公共属性 Site (从 Control 继承。)
公共属性 SkinID (从 WebControl 继承。)
公共属性 Style (从 WebControl 继承。)
公共属性 SupportsDisabledAttribute (从 Panel 继承。)
公共属性 TabIndex (从 WebControl 继承。)
受保护的属性 TagKey (从 WebControl 继承。)
受保护的属性 TagName (从 WebControl 继承。)
公共属性 TemplateControl (从 Control 继承。)
公共属性 TemplateSourceDirectory (从 Control 继承。)
公共属性 Title 获取或设置工具部件的标题。 (覆盖 Part.Title。)
公共属性 ToolTip (从 WebControl 继承。)
公共属性 UniqueID (从 Control 继承。)
公共属性 UseDefaultStyles 获取或设置一个值,该值工具部件为其正文中是否使用默认主题和样式。
受保护的属性 ViewState (从 Control 继承。)
受保护的属性 ViewStateIgnoresCase (从 Control 继承。)
公共属性 ViewStateMode (从 Control 继承。)
公共属性 Visible (从 Control 继承。)
受保护的属性 WebPartManager (从 EditorPart 继承。)
受保护的属性 WebPartToEdit (从 EditorPart 继承。)
公共属性 Width (从 WebControl 继承。)
公共属性 Wrap (从 Panel 继承。)
受保护的属性 Zone (从 EditorPart 继承。)

页首

方法

  名称 说明
受保护的方法 AddAttributesToRender (从 Panel 继承。)
受保护的方法 AddedControl (从 Control 继承。)
受保护的方法 AddParsedSubObject (从 Control 继承。)
公共方法 ApplyChanges 当用户单击OK或在工具窗格中的Apply按钮时调用。
受保护的方法 ApplyChangesInternal (覆盖 EditorPartAdapter.ApplyChangesInternal()。)
公共方法 ApplyStyle (从 WebControl 继承。)
公共方法 ApplyStyleSheetSkin (从 Control 继承。)
受保护的方法 BuildProfileTree (从 Control 继承。)
公共方法 CancelChanges 当用户单击工具窗格中的Cancel按钮时调用。
受保护的方法 ClearCachedClientID (从 Control 继承。)
受保护的方法 ClearChildControlState (从 Control 继承。)
受保护的方法 ClearChildState (从 Control 继承。)
受保护的方法 ClearChildViewState (从 Control 继承。)
受保护的方法 ClearEffectiveClientIDMode (从 Control 继承。)
公共方法 CopyBaseAttributes (从 WebControl 继承。)
受保护的方法 CreateChildControls (从 Control 继承。)
受保护的方法 CreateControlCollection (从 Control 继承。)
受保护的方法 CreateControlStyle (从 Panel 继承。)
公共方法 DataBind() (从 Part 继承。)
受保护的方法 DataBind(Boolean) (从 Control 继承。)
受保护的方法 DataBindChildren (从 Control 继承。)
公共方法 Dispose (从 Control 继承。)
受保护的方法 EnsureChildControls (从 Control 继承。)
受保护的方法 EnsureID (从 Control 继承。)
公共方法 Equals (从 Object 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 FindControl(String) (从 Control 继承。)
受保护的方法 FindControl(String, Int32) (从 Control 继承。)
公共方法 Focus (从 Control 继承。)
受保护的方法 GetDesignModeState (从 EditorPart 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetRouteUrl(Object) (从 Control 继承。)
公共方法 GetRouteUrl(RouteValueDictionary) (从 Control 继承。)
公共方法 GetRouteUrl(String, Object) (从 Control 继承。)
公共方法 GetRouteUrl(String, RouteValueDictionary) (从 Control 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 GetUniqueIDRelativeTo (从 Control 继承。)
公共方法 HasControls (从 Control 继承。)
受保护的方法 HasEvents (从 Control 继承。)
受保护的方法 IsLiteralContent (从 Control 继承。)
受保护的方法 LoadControlState (从 Control 继承。)
受保护的方法 LoadViewState (从 WebControl 继承。)
受保护的方法 MapPathSecure (从 Control 继承。)
受保护的方法 MemberwiseClone (从 Object 继承。)
公共方法 MergeStyle (从 WebControl 继承。)
受保护的方法 OnBubbleEvent (从 Control 继承。)
受保护的方法 OnDataBinding (从 Control 继承。)
受保护的方法 OnInit 允许或禁止尽量减少对Init控件的事件的响应中的控件。 (覆盖 Control.OnInit(EventArgs)。)
受保护的方法 OnLoad (从 Control 继承。)
受保护的方法 OnPreRender (从 EditorPart 继承。)
受保护的方法 OnUnload (从 Control 继承。)
受保护的方法 OpenFile (从 Control 继承。)
受保护的方法 RaiseBubbleEvent (从 Control 继承。)
受保护的方法 RemovedControl (从 Control 继承。)
受保护的方法 Render (覆盖 WebControl.Render(HtmlTextWriter)。)
公共方法 RenderBeginTag (从 Panel 继承。)
受保护的方法 RenderChildren (从 Control 继承。)
受保护的方法 RenderContents (从 WebControl 继承。)
公共方法 RenderControl(HtmlTextWriter) (从 Control 继承。)
受保护的方法 RenderControl(HtmlTextWriter, ControlAdapter) (从 Control 继承。)
公共方法 RenderEndTag (从 Panel 继承。)
受保护的方法 RenderToolPart 将工具部件内容发送到要呈现的内容写入客户端的指定的HtmlTextWriter对象。
受保护的方法 ResolveAdapter (从 Control 继承。)
公共方法 ResolveClientUrl (从 Control 继承。)
公共方法 ResolveUrl (从 Control 继承。)
受保护的方法 SaveControlState (从 Control 继承。)
受保护的方法 SaveViewState (从 WebControl 继承。)
受保护的方法 SetDesignModeState (从 EditorPart 继承。)
公共方法 SetRenderMethodDelegate (从 Control 继承。)
公共方法 SyncChanges 当在某个派生类中重写,所有其他工具部件具有调用其ApplyChanges方法后调用此方法。 (覆盖 EditorPart.SyncChanges()。)
公共方法 ToString (从 Object 继承。)
受保护的方法 TrackViewState (从 WebControl 继承。)

页首

事件

  名称 说明
公共事件 DataBinding (从 Control 继承。)
公共事件 Disposed (从 Control 继承。)
公共事件 Init (从 Control 继承。)
公共事件 Load (从 Control 继承。)
公共事件 PreRender (从 Control 继承。)
公共事件 Unload (从 Control 继承。)

页首

显式 接口 实现

  名称 说明
显式接口实现私有方法 IParserAccessor.AddParsedSubObject (从 Control 继承。)
显式接口实现私有属性 IControlBuilderAccessor.ControlBuilder (从 Control 继承。)
显式接口实现私有属性 IDataBindingsAccessor.DataBindings (从 Control 继承。)
显式接口实现私有属性 IExpressionsAccessor.Expressions (从 Control 继承。)
显式接口实现私有方法 IAttributeAccessor.GetAttribute (从 WebControl 继承。)
显式接口实现私有方法 IControlDesignerAccessor.GetDesignModeState (从 Control 继承。)
显式接口实现私有属性 IDataBindingsAccessor.HasDataBindings (从 Control 继承。)
显式接口实现私有属性 IExpressionsAccessor.HasExpressions (从 Control 继承。)
显式接口实现私有方法 ICompositeControlDesignerAccessor.RecreateChildControls (从 Part 继承。)
显式接口实现私有方法 IAttributeAccessor.SetAttribute (从 WebControl 继承。)
显式接口实现私有方法 IControlDesignerAccessor.SetDesignModeState (从 Control 继承。)
显式接口实现私有方法 IControlDesignerAccessor.SetOwnerControl (从 Control 继承。)
显式接口实现私有属性 IControlDesignerAccessor.UserData (从 Control 继承。)

页首

另请参阅

引用

ToolPart 类

Microsoft.SharePoint.WebPartPages 命名空间