ListViewCommandEventArgs Constructor (ListViewItem^, Object^, CommandEventArgs^)
Initializes a new instance of the ListViewCommandEventArgs class by using the specified source of the command and event arguments.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
public:
ListViewCommandEventArgs(
ListViewItem^ item,
Object^ commandSource,
CommandEventArgs^ originalArgs
)
Parameters
- item
-
Type:
System.Web.UI.WebControls::ListViewItem^
The item from the ListView control for which the command was issued.
- commandSource
-
Type:
System::Object^
The source of the command.
- originalArgs
-
Type:
System.Web.UI.WebControls::CommandEventArgs^
The event data.
Use this constructor to initialize a new instance of the ListViewCommandEventArgs class.
Note |
|---|
This constructor is primarily used by control developers when they raise events. |
The following table shows initial property values for an instance of the ListViewCommandEventArgs class.
Property | Initial value |
|---|---|
The value of the CommandArgument property of the CommandEventArgs object that is contained in the originalArgs parameter. | |
The value of the CommandName property of the CommandEventArgs object that is contained in the originalArgs parameter. | |
The object that is contained in the commandSource parameter. |
Available since 3.5
