DekGenius.com
[ Team LiB ] Previous Section Next Section

ObjectListCommand.NET 1.1

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

This class represents a command that can be invoked on an item in an ObjectList control. Each command has descriptive text (Text) and a string name (Name) that will be provided when the ObjectList.ItemCommand event fires. You assign commands to an ObjectList by adding ObjectListCommand instances to the ObjectList.Commands collection.

public class ObjectListCommand {
// Public Constructors
   public ObjectListCommand( );
   public ObjectListCommand(string name, string text);
// Public Instance Properties
   public string Name{set; get; }
   public string Text{set; get; }
}

Returned By

ObjectListCommandCollection.this

Passed To

ObjectListCommandCollection.{Add( ), AddAt( )}

    [ Team LiB ] Previous Section Next Section