共用方式為


FormButton Class

Represents the Form button on a toolbar.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.SPSecurityTrimmedControl
        Microsoft.SharePoint.WebControls.SPLinkButton
          Microsoft.SharePoint.WebControls.FormButton
            

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class FormButton _
    Inherits SPLinkButton
'Usage
Dim instance As FormButton
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class FormButton : SPLinkButton

Remarks

FormButton is a generic control that renders a toolbar button by using a ToolBarButton control.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FormButton Members

Microsoft.SharePoint.WebControls Namespace

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.SPSecurityTrimmedControl
        Microsoft.SharePoint.WebControls.SPLinkButton
          Microsoft.SharePoint.WebControls.FormButton
            ConfirmButton
            CopyCirculationButton
            DisconfirmButton
            PersonalSettingsButton
            ResolveButton
            UnresolveButton
            Microsoft.SharePoint.WebControls.AlertMeButton
            Microsoft.SharePoint.WebControls.ApprovalButton
            Microsoft.SharePoint.WebControls.AttachmentButton
            Microsoft.SharePoint.WebControls.ChangePasswordButton
            Microsoft.SharePoint.WebControls.CheckInCheckOutButton
            Microsoft.SharePoint.WebControls.ClaimReleaseTaskButton
            Microsoft.SharePoint.WebControls.DeleteItemButton
            Microsoft.SharePoint.WebControls.DeleteItemVersionButton
            Microsoft.SharePoint.WebControls.EditItemButton
            Microsoft.SharePoint.WebControls.EditSeriesButton
            Microsoft.SharePoint.WebControls.EnterFolderButton
            Microsoft.SharePoint.WebControls.ExportWebPartButton
            Microsoft.SharePoint.WebControls.HealthRuleRunNowButton
            Microsoft.SharePoint.WebControls.ManageCopiesButton
            Microsoft.SharePoint.WebControls.ManagePermissionsButton
            Microsoft.SharePoint.WebControls.MyAlertsButton
            Microsoft.SharePoint.WebControls.MyRegionalSettingsButton
            Microsoft.SharePoint.WebControls.NewItemButton
            Microsoft.SharePoint.WebControls.RestoreItemVersionButton
            Microsoft.SharePoint.WebControls.SolutionItemButton
            Microsoft.SharePoint.WebControls.UserInfoListDeleteItemButton
            Microsoft.SharePoint.WebControls.UserInfoListEditItemButton
            Microsoft.SharePoint.WebControls.VersionHistoryButton
            Microsoft.SharePoint.WebControls.ViewWebPartXmlButton
            Microsoft.SharePoint.WebControls.WikiEditMobilePageButton
            Microsoft.SharePoint.WebControls.WikiIncomingLinksButton
            Microsoft.SharePoint.WebControls.WikiPageHistoryButton
            Microsoft.SharePoint.WebControls.WorkflowsButton