System.Web 2.0.0.0 System.Web.UI.WebControls.CommandEventArgs The control raises the event when a button within a , , or row field is clicked. This allows you to provide an event handler that performs a custom routine whenever this event occurs. The control also raises other specialized events when certain buttons are clicked (buttons with the CommandName property set to "Delete", "Insert", "Page", or "Update"). When using one of these buttons, you should consider using one of the specialized events provided by the control (such as or ). A object is passed to the event handler. If the button that raised the event has a command name or command argument value, you can use the object to determine these values. To determine the command name and command argument of the button clicked, use the and properties, respectively. You can also access the control that raised the event by using the property. For a list of initial property values for an instance of the class, see the constructor. Provides data for the event. Constructor To be added. To be added. Use this constructor to initialize a new instance of the class. The following table shows the initial property values for an instance of . Property Initial value The value of the property of the contained in the parameter. The value of the property of the object contained in the parameter. The object contained in the parameter. This constructor is used primarily by control developers when raising events. Initializes a new instance of the class. 2.0.0.0 Property System.Object To be added. Use the property to access the properties of the object that represents the source of the command. In some cases, this will be the control itself, and in other cases it will be the control that was clicked. Gets the source of the command. 2.0.0.0