ListViewCommandEventArgs.CommandSource Property


Gets the source of the command.

 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.


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