Share via


SPRibbonPostBackCommand members

Represents a Ribbon command that posts back to a server control.

The SPRibbonPostBackCommand type exposes the following members.

Constructors

  Name Description
Public method SPRibbonPostBackCommand(String, IPostBackEventHandler) Initializes a new instance of the SPRibbonPostBackCommand class using the specified command and event handler.
Public method SPRibbonPostBackCommand(String, IPostBackEventHandler, []) Initializes a new instance of the SPRibbonPostBackCommand class using the specified command, event handler, and event arguments.
Public method SPRibbonPostBackCommand(String, IPostBackEventHandler, String) Initializes a new instance of the SPRibbonPostBackCommand class using the specified command, event handler, and ECMA script.
Public method SPRibbonPostBackCommand(String, IPostBackEventHandler, [], String) Initializes a new instance of the SPRibbonPostBackCommand class using the specified command, event handler, event arguments, and ECMA script.
Public method SPRibbonPostBackCommand(String, IPostBackEventHandler, String, []) Initializes a new instance of the SPRibbonPostBackCommand class using the specified command, event handler, event, and event arguments.
Public method SPRibbonPostBackCommand(String, IPostBackEventHandler, String, [], String) Initializes a new instance of the SPRibbonPostBackCommand class using the specified command, event handler, event, event arguments, and ECMA script.
Public method SPRibbonPostBackCommand(String, IPostBackEventHandler, String, [], [], String) Initializes a new instance of the SPRibbonPostBackCommand class using the specified command, event handler, event, event arguments, known types that may be present in the object graph. and ECMA script.

Top

Properties

  Name Description
Public property EnabledStatement Gets or sets the code that is run to determine whether the command should be enabled. (Inherited from SPRibbonCommand.)
Public property HandlerStatement Gets or sets the code that is run when the command is invoked. (Inherited from SPRibbonCommand.)
Public property Id Gets the identifier of the command. (Inherited from SPRibbonCommand.)

Top

Methods

  Name Description
Public methodStatic member DeserializePostBackEvent(String) Deserializes a specified SPRibbonPostBackEvent object.
Public methodStatic member DeserializePostBackEvent(String, IEnumerable<Type>) Deserializes a specified SPRibbonPostBackEvent object using the specified known types that may be present in the object graph.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPRibbonPostBackCommand class

Microsoft.SharePoint.WebControls namespace