DekGenius.com
[ Team LiB ] Previous Section Next Section

ObjectListCommandEventArgs.NET 1.1

System.Web.UI.MobileControls (system.web.mobile.dll)class

This custom EventArgs class defines the additional information that will be sent to methods that handle the ObjectList.ItemCommand event. This information includes the string name that identifies the ObjectListCommand (CommandName), and an ObjectListItem that represents the item on which the command was invoked (ListItem).

public class ObjectListCommandEventArgs : System.Web.UI.WebControls.CommandEventArgs {
// Public Constructors
   public ObjectListCommandEventArgs(ObjectListItem item, object commandSource, 
        System.Web.UI.WebControls.CommandEventArgs originalArgs);
   public ObjectListCommandEventArgs(ObjectListItem item, string commandName);
// Protected Static Fields
   protected static readonly string DefaultCommand;              // =Default
// Public Instance Properties
   public object CommandSource{get; }
   public ObjectListItem ListItem{get; }
}

Hierarchy

System.Object System.EventArgs System.Web.UI.WebControls.CommandEventArgs ObjectListCommandEventArgs

Passed To

ObjectList.OnItemCommand( ), ObjectListCommandEventHandler.{BeginInvoke( ), Invoke( )}

    [ Team LiB ] Previous Section Next Section