System.Web 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Web.UI.WebControls.CommandEventArgs

The event is raised when the Cancel button for an item in the control is clicked.

The event is raised when the Delete button for an item in the control is clicked.

The event is raised when the Edit button for an item in the control is clicked.

The event is raised when any button for an item in the control is clicked. This allows you to programmatically test for when a specific command button is clicked and take appropriate action. This event is commonly used to handle custom command buttons for the control.

The event is raised when the Update button for an item in the control is clicked.

For a list of initial property values for an instance of , see the constructor.

For more information about handling events, see [<topic://cpconEventsOverview>].

Provides data for the , , , , and events of the control. This class cannot be inherited.

- Constructor
  To be added.
  To be added.

  Use this constructor to create and initialize a new instance of the class.

  When an instance of is created by a call to this constructor, the following properties are initialized to the specified values.

  Property

  Initial Value

  Item

  The value of the parameter.

  CommandSource

  The value of the parameter.

  Initializes a new instance of the class.

  The selected item from the .
  1.0.5000.0
  2.0.0.0
- Property
  System.Object To be added: an object of type 'object'

  Use the property to determine the command source that raised the event. This property is commonly used to determine which command raises the event. You can then take appropriate action, based on the command.

  Gets the source of the command.

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.UI.WebControls.DataListItem To be added: an object of type 'DataListItem'

  Use the property to access information about the selected item in the control.

  Gets the item containing the command source in the control.

  1.0.5000.0
  2.0.0.0