ListViewCommandEventArgs.CommandSource Property

Definition

Gets the source of the command.

public:
 property System::Object ^ CommandSource { System::Object ^ get(); };
public object CommandSource { get; }
member this.CommandSource : obj
Public ReadOnly Property CommandSource As Object

Property Value

The source of the command.

Remarks

Use the CommandSource property to access the properties of the object that represents the source of the command. For the ListViewCommandEventArgs object, the source of the command is the ListView control that contains the button clicked by the user.

Applies to

See also