ListCommandEventArgs Class
Provides data for the ItemCommand event of a List control. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
System::EventArgs
System.Web.UI.WebControls::CommandEventArgs
System.Web.UI.MobileControls::ListCommandEventArgs
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] [AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)] [AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)] public ref class ListCommandEventArgs : CommandEventArgs
| Name | Description | |
|---|---|---|
![]() | ListCommandEventArgs(MobileListItem^, Object^) | Initializes a new instance of the ListCommandEventArgs class using the provided ListItem and CommandSource. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | ListCommandEventArgs(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. |
| Name | Description | |
|---|---|---|
![]() | CommandArgument | Gets the argument for the command.(Inherited from CommandEventArgs.) |
![]() | CommandName | Gets the name of the command.(Inherited from CommandEventArgs.) |
![]() | CommandSource | Returns the control that raised the event. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
![]() | ListItem | Returns the list item that generated the event. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | DefaultCommand | Sets or returns the name of the default command. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
The following code example shows how you can use the ListCommandEventArgs object to modify the status of tasks in a list when the item is clicked. This example is part of a larger example for the List overview.
Note |
|---|
The following code sample uses the single-file code model and may not work correctly if copied directly into a code-behind file. This code sample must be copied into an empty text file that has an .aspx extension. For more information, see ASP.NET Web Forms Page Code Model. |
for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
ItemCommand
System.Web.UI.MobileControls Namespace
Using ASP.NET Mobile Controls
ASP.NET Mobile Web Pages





