ListCommandEventArgs Constructor (MobileListItem^, Object^, CommandEventArgs^)

 

Initializes a new instance of the ListCommandEventArgs class using the given ListItem, CommandSource, and the original command arguments. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
ListCommandEventArgs(
	MobileListItem^ item,
	Object^ commandSource,
	CommandEventArgs^ originalArgs
)

Parameters

item
Type: System.Web.UI.MobileControls::MobileListItem^

Initializes the ListItem property.

commandSource
Type: System::Object^

Initializes the CommandSource property.

originalArgs
Type: System.Web.UI.WebControls::CommandEventArgs^

The original arguments inherited from the CommandEventArgs object.

This constructor builds a ListCommandEventArgs object.

The item and commandSource parameters initialize the ListItem and CommandSource properties with their respective values. This constructor includes an originalArgs parameter; this form of the constructor allows you to pass in a set of command arguments through the originalArgs parameter, which is useful for handling bubbled events.

.NET Framework
Available since 1.1
Return to top
Show: