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; } }