PageStateActionButton 类

创建用于执行编辑或保存页上的操作按钮。

继承层次结构

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.WebControls.SPControl
      Microsoft.SharePoint.WebControls.PageStateActionButton

命名空间:  Microsoft.SharePoint.WebControls
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class PageStateActionButton _
    Inherits SPControl
用法
Dim instance As PageStateActionButton
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class PageStateActionButton : SPControl

备注

如果存在SPPageStateControl控件和页上的功能区控件时,控件仅起作用。单击按钮时,它会发送到功能区的PageStateGroupEdit或PageStateGroupSave命令。

客户端脚本依赖于由控件呈现的 DOM 结构。如果控件的 DOM 结构需要更新,然后更新sts\client\script\ribbon\PageStateActionButton.cs文件。

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

PageStateActionButton 成员

Microsoft.SharePoint.WebControls 命名空间