ListViewCommandEventArgs::CommandSource Property

 

Gets the source of the command.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public:
property Object^ CommandSource {
	Object^ get();
}

Property Value

Type: System::Object^

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.

.NET Framework
Available since 3.5
Return to top
Show: