System.Web.UI.WebControls Namespace DataListCommandEventArgs Class
Initializes a new instance of the DataListCommandEventArgs class.
[ VB ]
Public Sub New ( _
ByVal item As DataListItem, _
ByVal commandSource As Object, _
ByVal originalArgs As CommandEventArgs _
)
[ C# ]
public DataListCommandEventArgs (
DataListItem item,
object commandSource,
CommandEventArgs originalArgs
);
[ C++ ]
public: DataListCommandEventArgs (
DataListItem* item,
Object* commandSource,
CommandEventArgs* originalArgs
);
[ JScript ]
public function DataListCommandEventArgs (
item : DataListItem,
commandSource : Object,
originalArgs : CommandEventArgs
);
- item
- The selected item from the DataList.
- commandSource
- The source of the command.
- originalArgs
- A CommandEventArgs that contains the original event data.
Use this constructor to initialize a new instance of the DataListCommandEventArgs class.
When an instance of DataListCommandEventArgs is created by a call to this constructor, the following properties are initialized to the specified values.
Item |
Description |
Item |
The value of the item parameter. |
CommandSource |
The value of the commandSource parameter. |
DataListCommandEventHandler DataList CancelCommand DeleteCommand EditCommand ItemCommand UpdateCommand