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.EventArgs

The Command event is raised when a or control is clicked.

The object contains data about the Command event that can be accessed in the event handler. Using the properties available in the class, you can determine the name of the command to perform, such as Sort, in addition to an optional argument that supplements the command, such as Ascending.

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 Command event.

- Constructor

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

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

  Property

  Initial Value

  CommandName

  The parameter.

  CommandArgument

  The parameter.

  Initializes a new instance of the class with another object.

  A that contains the event data.
  1.0.5000.0
  2.0.0.0
- Constructor
  To be added.

  Use this constructor to create and initialize a new instance of the class using the specified command name and argument.

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

  Property

  Initial Value

  CommandName

  The value of the parameter.

  CommandArgument

  The value of the parameter.

  Initializes a new instance of the class with the specified command name and argument.

  A that contains the arguments for the command.
  1.0.5000.0
  2.0.0.0
- Property
  System.Object To be added: an object of type 'object'

  The can contain any string set by the programmer. The property complements the property by allowing you to provide any additional information for the command. For example, you can set the property to Sort and set the property to Ascending to specify a command to sort in ascending order.

  Gets the argument for the command.

  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string'

  Use the property to determine the command to perform. The property can contain any string set by the programmer. The programmer can then identify the command name in code and perform the appropriate tasks.

  Gets the name of the command.

  1.0.5000.0
  2.0.0.0