DataGridCommandEventArgs::CommandSource Property

 

Gets the source of the command.

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

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

Property Value

Type: System::Object^

The source of the command.

Use the CommandSource property to determine the command source that raised the event. This property is commonly used to determine which command raised the event.

The following code example demonstrates how to determine the source of the command using the CommandSource property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: