SPControl 成员

提供用于获取或设置请求的上下文的方法,并作为从中派生Microsoft.SharePoint.WebControls命名空间中的其他控件的基本服务器控件。

SPControl 类型公开以下成员。

构造函数

  名称 说明
公共方法 SPControl SPControl构造函数初始化SPControl类的新实例。

页首

属性

  名称 说明
受保护的属性 Adapter (从 Control 继承。)
公共属性 AppRelativeTemplateSourceDirectory (从 Control 继承。)
公共属性 BindingContainer (从 Control 继承。)
受保护的属性 ChildControlsCreated (从 Control 继承。)
公共属性 ClientID (从 Control 继承。)
公共属性 ClientIDMode (从 Control 继承。)
受保护的属性 ClientIDSeparator (从 Control 继承。)
受保护的属性 Context (从 Control 继承。)
公共属性 Controls (从 Control 继承。)
公共属性 DataItemContainer (从 Control 继承。)
公共属性 DataKeysContainer (从 Control 继承。)
受保护的属性 DesignMode (从 Control 继承。)
公共属性 EnableTheming (从 Control 继承。)
公共属性 EnableViewState (从 Control 继承。)
受保护的属性 Events (从 Control 继承。)
受保护的属性 HasChildViewState (从 Control 继承。)
公共属性 ID (从 Control 继承。)
受保护的属性 IdSeparator (从 Control 继承。)
公共属性 InDesign
受保护的属性 IsChildControlStateCleared (从 Control 继承。)
受保护的属性 IsTrackingViewState (从 Control 继承。)
受保护的属性 IsViewStateEnabled (从 Control 继承。)
受保护的属性 LoadViewStateByID (从 Control 继承。)
公共属性 NamingContainer (从 Control 继承。)
公共属性 Page (从 Control 继承。)
公共属性 PageUri 获取或设置包含该控件的页面的统一资源标识符 (URI)。
公共属性 Parent (从 Control 继承。)
受保护的属性 RegisterAs
公共属性 RenderingCompatibility (从 Control 继承。)
公共属性 Site (从 Control 继承。)
公共属性 SkinID (从 Control 继承。)
公共属性 TemplateControl (从 Control 继承。)
公共属性 TemplateSourceDirectory (从 Control 继承。)
公共属性 UniqueID (从 Control 继承。)
公共属性 Version
受保护的属性 ViewState (从 Control 继承。)
受保护的属性 ViewStateIgnoresCase (从 Control 继承。)
公共属性 ViewStateMode (从 Control 继承。)
公共属性 Visible (从 Control 继承。)

页首

方法

  名称 说明
受保护的方法 AddedControl (从 Control 继承。)
受保护的方法 AddParsedSubObject (从 Control 继承。)
公共方法 ApplyStyleSheetSkin (从 Control 继承。)
受保护的方法 BuildProfileTree (从 Control 继承。)
受保护的方法 ClearCachedClientID (从 Control 继承。)
受保护的方法 ClearChildControlState (从 Control 继承。)
受保护的方法 ClearChildState (从 Control 继承。)
受保护的方法 ClearChildViewState (从 Control 继承。)
受保护的方法 ClearEffectiveClientIDMode (从 Control 继承。)
受保护的方法 CreateChildControls (从 Control 继承。)
受保护的方法 CreateControlCollection (从 Control 继承。)
公共方法 DataBind() (从 Control 继承。)
受保护的方法 DataBind(Boolean) (从 Control 继承。)
受保护的方法 DataBindChildren (从 Control 继承。)
公共方法 Dispose (从 Control 继承。)
受保护的方法 EnsureChildControls (从 Control 继承。)
受保护的方法 EnsureID (从 Control 继承。)
公共方法 Equals (从 Object 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 FindControl(String) (从 Control 继承。)
受保护的方法 FindControl(String, Int32) (从 Control 继承。)
公共方法 Focus (从 Control 继承。)
公共方法静态成员 GetContextModule 返回作为请求上下文的模块。
公共方法静态成员 GetContextSite 返回作为请求上下文的网站集。
公共方法静态成员 GetContextWeb 返回作为请求上下文的网站。
公共方法静态成员 GetContextWebApplication
受保护的方法 GetDesignModeState (从 Control 继承。)
公共方法 GetDesignTimeHtml 在 Web 站点开发工具 (如 Microsoft Office FrontPage 2003 中进行编辑,为设计时 HTML 中返回的控件。
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetRouteUrl(Object) (从 Control 继承。)
公共方法 GetRouteUrl(RouteValueDictionary) (从 Control 继承。)
公共方法 GetRouteUrl(String, Object) (从 Control 继承。)
公共方法 GetRouteUrl(String, RouteValueDictionary) (从 Control 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 GetUniqueIDRelativeTo (从 Control 继承。)
公共方法 HasControls (从 Control 继承。)
受保护的方法 HasEvents (从 Control 继承。)
公共方法静态成员 IsAccessibilityMode 获取或设置一个值,指示是否为控件设置辅助功能模式。
受保护的方法 IsLiteralContent (从 Control 继承。)
受保护的方法 LoadControlState (从 Control 继承。)
受保护的方法 LoadViewState (从 Control 继承。)
受保护的方法 MapPathSecure (从 Control 继承。)
受保护的方法 MemberwiseClone (从 Object 继承。)
受保护的方法 OnBubbleEvent (从 Control 继承。)
受保护的方法 OnDataBinding (从 Control 继承。)
受保护的方法 OnInit (从 Control 继承。)
受保护的方法 OnLoad (从 Control 继承。)
受保护的方法 OnPreRender (从 Control 继承。)
受保护的方法 OnUnload (从 Control 继承。)
受保护的方法 OpenFile (从 Control 继承。)
受保护的方法 RaiseBubbleEvent (从 Control 继承。)
受保护的方法 RemovedControl (从 Control 继承。)
受保护的方法 Render (从 Control 继承。)
受保护的方法 RenderChildren (从 Control 继承。)
公共方法 RenderControl(HtmlTextWriter) (从 Control 继承。)
受保护的方法 RenderControl(HtmlTextWriter, ControlAdapter) (从 Control 继承。)
受保护的方法 ResolveAdapter (从 Control 继承。)
公共方法 ResolveClientUrl (从 Control 继承。)
公共方法 ResolveUrl (从 Control 继承。)
受保护的方法 SaveControlState (从 Control 继承。)
受保护的方法 SaveViewState (从 Control 继承。)
公共方法静态成员 SetContextSite
公共方法静态成员 SetContextWeb 指定上下文和SPWeb控件。
受保护的方法 SetDesignModeState (从 Control 继承。)
公共方法静态成员 SetQueryStringParameters
公共方法 SetRenderMethodDelegate (从 Control 继承。)
公共方法 ToString (从 Object 继承。)
受保护的方法 TrackViewState (从 Control 继承。)

页首

事件

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

页首

  名称 说明
受保护的域静态成员 strShowSearchFormKey

页首

显式 接口 实现

  名称 说明
显式接口实现私有方法 IParserAccessor.AddParsedSubObject (从 Control 继承。)
显式接口实现私有属性 IControlBuilderAccessor.ControlBuilder (从 Control 继承。)
显式接口实现私有属性 IDataBindingsAccessor.DataBindings (从 Control 继承。)
显式接口实现私有属性 IExpressionsAccessor.Expressions (从 Control 继承。)
显式接口实现私有方法 IControlDesignerAccessor.GetDesignModeState (从 Control 继承。)
显式接口实现私有属性 IDataBindingsAccessor.HasDataBindings (从 Control 继承。)
显式接口实现私有属性 IExpressionsAccessor.HasExpressions (从 Control 继承。)
显式接口实现私有方法 IDesignerEventAccessor.OnDesignerLoad
显式接口实现私有方法 IDesignerEventAccessor.OnDesignerPreRender
显式接口实现私有方法 IControlDesignerAccessor.SetDesignModeState (从 Control 继承。)
显式接口实现私有方法 IControlDesignerAccessor.SetOwnerControl (从 Control 继承。)
显式接口实现私有属性 IControlDesignerAccessor.UserData (从 Control 继承。)

页首

另请参阅

引用

SPControl 类

Microsoft.SharePoint.WebControls 命名空间