SPSecurityTrimmedControl 成员

仅当当前用户具有PermissionString中定义的权限时,才有条件地呈现控件的内容到当前用户。

SPSecurityTrimmedControl 类型公开以下成员。

构造函数

  名称 说明
公共方法 SPSecurityTrimmedControl 创建SPSecurityTrimmedControl的新实例。

页首

属性

  名称 说明
公共属性 AccessKey 获取或设置表示访问键的字符串。 (覆盖 WebControl.AccessKey。)
受保护的属性 Adapter (从 Control 继承。)
公共属性 AppRelativeTemplateSourceDirectory (从 Control 继承。)
公共属性 Attributes (从 WebControl 继承。)
公共属性 AuthenticationRestrictions 获取或设置 AuthenticationRestrictions。
公共属性 BackColor (从 WebControl 继承。)
公共属性 BindingContainer (从 Control 继承。)
公共属性 BorderColor (从 WebControl 继承。)
公共属性 BorderStyle (从 WebControl 继承。)
公共属性 BorderWidth (从 WebControl 继承。)
受保护的属性 ChildControlsCreated (从 Control 继承。)
公共属性 ClientID (从 Control 继承。)
公共属性 ClientIDMode (从 Control 继承。)
受保护的属性 ClientIDSeparator (从 Control 继承。)
受保护的属性 Context (从 Control 继承。)
公共属性 Controls (从 Control 继承。)
公共属性 ControlStyle (从 WebControl 继承。)
公共属性 ControlStyleCreated (从 WebControl 继承。)
公共属性 CssClass (从 WebControl 继承。)
公共属性 DataItemContainer (从 Control 继承。)
公共属性 DataKeysContainer (从 Control 继承。)
受保护的属性 DesignMode (从 Control 继承。)
公共属性 EmitDiv 获取或设置为控件标记的 div 元素。
公共属性 Enabled (从 WebControl 继承。)
公共属性 EnableTheming (从 WebControl 继承。)
公共属性 EnableViewState (从 Control 继承。)
受保护的属性 Events (从 Control 继承。)
公共属性 Font (从 WebControl 继承。)
公共属性 ForeColor (从 WebControl 继承。)
公共属性 HasAttributes (从 WebControl 继承。)
受保护的属性 HasChildViewState (从 Control 继承。)
公共属性 Height (从 WebControl 继承。)
公共属性 HideFromSearchCrawler 获取或设置 HideFromSearchCrawler。HideFromSearchCrawler 属性允许从 SharePoint 搜索或 Internet 搜索爬网程序隐藏的输出。
公共属性 ID (从 Control 继承。)
受保护的属性 IdSeparator (从 Control 继承。)
受保护的属性 IsChildControlStateCleared (从 Control 继承。)
受保护的属性 IsEnabled (从 WebControl 继承。)
受保护的属性 IsTrackingViewState (从 Control 继承。)
受保护的属性 IsViewStateEnabled (从 Control 继承。)
受保护的属性 LoadViewStateByID (从 Control 继承。)
公共属性 NamingContainer (从 Control 继承。)
公共属性 Page (从 Control 继承。)
公共属性 PageModes 获取或设置 PageModes。
公共属性 Parent (从 Control 继承。)
公共属性 PermissionContext 获取或设置 PermissionContext。
公共属性 PermissionMode 获取或设置 PermissionMode。
公共属性 Permissions 获取或设置的权限。
公共属性 PermissionsString 获取或设置 PermissionString。
公共属性 QueryStringParametersToInclude 获取或设置 QueryStringParametersToInclude。
公共属性 RenderContext 获取或设置 RenderContext。
公共属性 RenderingCompatibility (从 Control 继承。)
公共属性 RequiredFeatures 获取或设置 RequiredFeatures。
公共属性 Site (从 Control 继承。)
公共属性 SkinID (从 WebControl 继承。)
公共属性 Style (从 WebControl 继承。)
公共属性 SupportsDisabledAttribute (从 WebControl 继承。)
公共属性 TabIndex (从 WebControl 继承。)
受保护的属性 TagKey (覆盖 WebControl.TagKey。)
受保护的属性 TagName (从 WebControl 继承。)
公共属性 TemplateControl (从 Control 继承。)
公共属性 TemplateSourceDirectory (从 Control 继承。)
公共属性 ToolTip (从 WebControl 继承。)
公共属性 UniqueID (从 Control 继承。)
受保护的属性 ViewState (从 Control 继承。)
受保护的属性 ViewStateIgnoresCase (从 Control 继承。)
公共属性 ViewStateMode (从 Control 继承。)
公共属性 Visible 获取或设置 Boolean Visible 属性。 (覆盖 Control.Visible。)
公共属性 Width (从 WebControl 继承。)

页首

方法

  名称 说明
受保护的方法 AddAttributesToRender (从 WebControl 继承。)
受保护的方法 AddedControl (从 Control 继承。)
受保护的方法 AddParsedSubObject (从 Control 继承。)
公共方法 ApplyStyle (从 WebControl 继承。)
公共方法 ApplyStyleSheetSkin (从 Control 继承。)
受保护的方法 BuildProfileTree (从 Control 继承。)
受保护的方法 ClearCachedClientID (从 Control 继承。)
受保护的方法 ClearChildControlState (从 Control 继承。)
受保护的方法 ClearChildState (从 Control 继承。)
受保护的方法 ClearChildViewState (从 Control 继承。)
受保护的方法 ClearEffectiveClientIDMode (从 Control 继承。)
公共方法 CopyBaseAttributes (从 WebControl 继承。)
受保护的方法 CreateChildControls (从 Control 继承。)
受保护的方法 CreateControlCollection (从 Control 继承。)
受保护的方法 CreateControlStyle (从 WebControl 继承。)
公共方法 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 继承。)
受保护的方法 GetDesignModeState (从 Control 继承。)
公共方法 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 (从 Control 继承。)
受保护的方法 OnLoad (从 Control 继承。)
受保护的方法 OnPreRender (从 Control 继承。)
受保护的方法 OnUnload (从 Control 继承。)
受保护的方法 OpenFile (从 Control 继承。)
受保护的方法 RaiseBubbleEvent (从 Control 继承。)
受保护的方法 RemovedControl (从 Control 继承。)
受保护的方法 Render (覆盖 WebControl.Render(HtmlTextWriter)。)
公共方法 RenderBeginTag (从 WebControl 继承。)
受保护的方法 RenderChildren (从 Control 继承。)
受保护的方法 RenderContents (从 WebControl 继承。)
公共方法 RenderControl(HtmlTextWriter) (从 Control 继承。)
受保护的方法 RenderControl(HtmlTextWriter, ControlAdapter) (从 Control 继承。)
公共方法 RenderEndTag (从 WebControl 继承。)
受保护的方法 ResolveAdapter (从 Control 继承。)
公共方法 ResolveClientUrl (从 Control 继承。)
公共方法 ResolveUrl (从 Control 继承。)
受保护的方法 SaveControlState (从 Control 继承。)
受保护的方法 SaveViewState (从 WebControl 继承。)
受保护的方法 SetDesignModeState (从 Control 继承。)
公共方法 SetRenderMethodDelegate (从 Control 继承。)
公共方法 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 继承。)
显式接口实现私有方法 IDesignerEventAccessor.OnDesignerLoad
显式接口实现私有方法 IDesignerEventAccessor.OnDesignerPreRender
显式接口实现私有方法 IAttributeAccessor.SetAttribute (从 WebControl 继承。)
显式接口实现私有方法 IControlDesignerAccessor.SetDesignModeState (从 Control 继承。)
显式接口实现私有方法 IControlDesignerAccessor.SetOwnerControl (从 Control 继承。)
显式接口实现私有属性 IControlDesignerAccessor.UserData (从 Control 继承。)

页首

另请参阅

引用

SPSecurityTrimmedControl 类

Microsoft.SharePoint.WebControls 命名空间