Share via


SPLinkButton Members

Include Protected Members
Include Inherited Members

Represents a hyperlink that is conditionally displayed based on the current user's permissions.

The SPLinkButton type exposes the following members.

Constructors

  Name Description
Public method SPLinkButton Initializes a new instance of the SPLinkButton class.

Top

Properties

  Name Description
Public property AccessKey Gets or sets string representing the access key. (Inherited from SPSecurityTrimmedControl.)
Protected property Adapter (Inherited from Control.)
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property Attributes (Inherited from WebControl.)
Public property AuthenticationRestrictions Gets or sets the AuthenticationRestrictions. (Inherited from SPSecurityTrimmedControl.)
Public property BackColor (Inherited from WebControl.)
Public property BindingContainer (Inherited from Control.)
Public property BorderColor (Inherited from WebControl.)
Public property BorderStyle (Inherited from WebControl.)
Public property BorderWidth (Inherited from WebControl.)
Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientID (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Public property ClientOnClickScriptContainingPrefixedUrl
Public property CommandArgument Gets or sets an optional argument passed to the command event handler.
Public property CommandName Gets or sets the command name associated with the SPLinkButton control that is passed to the command event handler.
Protected property Context (Inherited from Control.)
Public property Controls (Inherited from Control.)
Public property ControlStyle (Inherited from WebControl.)
Public property ControlStyleCreated (Inherited from WebControl.)
Public property CssClass (Inherited from WebControl.)
Protected property DesignMode (Inherited from Control.)
Public property Enabled (Inherited from WebControl.)
Public property EnableTheming (Inherited from WebControl.)
Public property EnableViewState (Inherited from Control.)
Protected property Events (Inherited from Control.)
Public property Font (Inherited from WebControl.)
Public property ForeColor (Inherited from WebControl.)
Public property HasAttributes (Inherited from WebControl.)
Protected property HasChildViewState (Inherited from Control.)
Public property Height (Inherited from WebControl.)
Public property HoverCellActiveCssClass
Public property HoverCellInActiveCssClass
Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Public property ImageUrl Gets or sets the URL of an image to display in the SPLinkButton control.
Public property InDesign Gets or sets a value that indicates whether the link button is in design mode.
Protected property IsChildControlStateCleared (Inherited from Control.)
Protected property IsEnabled (Inherited from WebControl.)
Protected property IsTrackingViewState (Inherited from Control.)
Protected property IsViewStateEnabled (Inherited from Control.)
Protected property LoadViewStateByID (Inherited from Control.)
Public property NamingContainer (Inherited from Control.)
Public property href Gets or sets the URL to link to when the SPLinkButton control is clicked.
Public property OnClientClick Gets or sets the client-side ECMA script to be run when the user clicks this SPLinkButton.
Public property Page (Inherited from Control.)
Public property PageModes Gets or sets the PageModes. (Inherited from SPSecurityTrimmedControl.)
Public property Parent (Inherited from Control.)
Public property PermissionContext Gets or sets the PermissionContext. (Inherited from SPSecurityTrimmedControl.)
Public property PermissionMode Gets or sets the PermissionMode. (Inherited from SPSecurityTrimmedControl.)
Public property Permissions Gets or sets the Permissions. (Inherited from SPSecurityTrimmedControl.)
Public property PermissionsString Gets or sets the PermissionString. (Inherited from SPSecurityTrimmedControl.)
Public property QueryStringParametersToInclude Gets or sets the QueryStringParametersToInclude. (Inherited from SPSecurityTrimmedControl.)
Public property RenderContext Gets or sets the RenderContext. (Inherited from SPSecurityTrimmedControl.)
Public property RequiredFeatures Gets or sets the RequiredFeatures. (Inherited from SPSecurityTrimmedControl.)
Public property RibbonCommand
Public property RibbonContextualGroupCommand
Public property RibbonGroupCommand
Public property RibbonImage16by16
Public property RibbonImage32by32
Public property RibbonTabCommand
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from WebControl.)
Public property Style (Inherited from WebControl.)
Public property TabIndex (Inherited from WebControl.)
Protected property TagKey (Inherited from WebControl.)
Protected property TagName (Inherited from WebControl.)
Public property Target
Public property TemplateControl (Inherited from Control.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property Text Gets or sets the text shown for the SPLinkButton on the page.
Public property ToolTip (Inherited from WebControl.)
Public property UniqueID (Inherited from Control.)
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property Visible Gets or sets the Boolean Visible property. (Inherited from SPSecurityTrimmedControl.)
Public property Width (Inherited from WebControl.)

Top

Methods

  Name Description
Protected method AddAttributesToRender (Overrides WebControl.AddAttributesToRender(HtmlTextWriter).)
Protected method AddedControl (Inherited from Control.)
Protected method AddParsedSubObject (Inherited from Control.)
Public method ApplyStyle (Inherited from WebControl.)
Public method ApplyStyleSheetSkin (Inherited from Control.)
Protected method BuildProfileTree (Inherited from Control.)
Protected method ClearChildControlState (Inherited from Control.)
Protected method ClearChildState (Inherited from Control.)
Protected method ClearChildViewState (Inherited from Control.)
Public method CopyBaseAttributes (Inherited from WebControl.)
Protected method CreateChildControls (Inherited from Control.)
Protected method CreateControlCollection (Inherited from Control.)
Protected method CreateControlStyle (Inherited from WebControl.)
Public method DataBind() (Inherited from Control.)
Protected method DataBind(Boolean) (Inherited from Control.)
Protected method DataBindChildren (Inherited from Control.)
Public method Dispose (Inherited from Control.)
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureID (Inherited from Control.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindControl(String) (Inherited from Control.)
Protected method FindControl(String, Int32) (Inherited from Control.)
Public method Focus (Inherited from Control.)
Protected method GetDesignModeState (Inherited from Control.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method HasControls (Inherited from Control.)
Protected method HasEvents (Inherited from Control.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method LoadControlState (Inherited from Control.)
Protected method LoadViewState (Inherited from WebControl.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MergeStyle (Inherited from WebControl.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnClick
Protected method OnCommand
Protected method OnDataBinding (Inherited from Control.)
Protected method OnInit (Inherited from Control.)
Protected method OnLoad (Inherited from Control.)
Protected method OnPreRender Raises the PreRender event for the button. (Overrides Control.OnPreRender(EventArgs).)
Protected method OnUnload (Inherited from Control.)
Protected method OpenFile (Inherited from Control.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Protected method RemovedControl (Inherited from Control.)
Protected method Render (Overrides SPSecurityTrimmedControl.Render(HtmlTextWriter).)
Public method RenderBeginTag (Inherited from WebControl.)
Protected method RenderChildren (Inherited from Control.)
Protected method RenderContents (Overrides WebControl.RenderContents(HtmlTextWriter).)
Public method RenderControl(HtmlTextWriter) (Inherited from Control.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Public method RenderEndTag (Inherited from WebControl.)
Protected method RenderImage
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Protected method SaveControlState (Inherited from Control.)
Protected method SaveViewState (Inherited from WebControl.)
Protected method SetDesignModeState (Inherited from Control.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from WebControl.)

Top

Events

  Name Description
Public event Click
Public event Command Adds or removes a command event handler.
Public event DataBinding (Inherited from Control.)
Public event Disposed (Inherited from Control.)
Public event Init (Inherited from Control.)
Public event Load (Inherited from Control.)
Public event PreRender (Inherited from Control.)
Public event Unload (Inherited from Control.)

Top

Fields

  Name Description
Protected fieldStatic member EventClick
Protected fieldStatic member EventCommand

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IPostBackEventHandler.RaisePostBackEvent
Explicit interface implemetationPrivate method IParserAccessor.AddParsedSubObject (Inherited from Control.)
Explicit interface implemetationPrivate property IControlBuilderAccessor.ControlBuilder (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.DataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.Expressions (Inherited from Control.)
Explicit interface implemetationPrivate method IAttributeAccessor.GetAttribute (Inherited from WebControl.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.GetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.HasDataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.HasExpressions (Inherited from Control.)
Explicit interface implemetationPrivate method IDesignerEventAccessor.OnDesignerLoad (Inherited from SPSecurityTrimmedControl.)
Explicit interface implemetationPrivate method IDesignerEventAccessor.OnDesignerPreRender (Inherited from SPSecurityTrimmedControl.)
Explicit interface implemetationPrivate method IAttributeAccessor.SetAttribute (Inherited from WebControl.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetOwnerControl (Inherited from Control.)
Explicit interface implemetationPrivate property IControlDesignerAccessor.UserData (Inherited from Control.)

Top

See Also

Reference

SPLinkButton Class

Microsoft.SharePoint.WebControls Namespace