Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.UIControls.v4.4 Assembly / Xceed.Chart.UIControls Namespace / Command Class
Members


In This Topic
    Command Class
    In This Topic
    Represents a command in an application. Commands can be executed through menus, toolbar buttons and programmatically.
    Object Model
    Command Class
    Syntax
    'Declaration
     
    <SerializableAttribute()>
    Public Class Command 
    'Usage
     
    Dim instance As Command
    [Serializable()]
    public class Command 
    Remarks
    Each command has a command ID, keyboard shortcut, tooltip text, description and image index. There are several types of commands, enumerated from the CommandType type.
    Inheritance Hierarchy

    System.Object
       Xceed.Chart.UIControls.Command

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Protected Fields
     NameDescription
    Protected FieldThis member is reserved for internal use and is not intended to be used directly from your code.  
    Protected FieldThis member is reserved for internal use and is not intended to be used directly from your code.  
    Protected FieldThis member is reserved for internal use and is not intended to be used directly from your code.  
    Protected FieldThis member is reserved for internal use and is not intended to be used directly from your code.  
    Protected FieldThis member is reserved for internal use and is not intended to be used directly from your code.  
    Protected FieldThis member is reserved for internal use and is not intended to be used directly from your code.  
    Protected FieldThis member is reserved for internal use and is not intended to be used directly from your code.  
    Protected FieldThis member is reserved for internal use and is not intended to be used directly from your code.  
    Protected FieldThis member is reserved for internal use and is not intended to be used directly from your code.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the type of this command  
    Public PropertyGets or sets the command description.  
    Public PropertyGets or sets the command id  
    Public PropertyGets or sets the image index associated with the command.  
    Public PropertyGets or sets a reference to the image list associated with the command.  
    Public PropertyGets or sets the Shortcut object associated with a command.  
    Public PropertyGets or sets additional data associated with the command.  
    Public PropertyGets the tooltip text for a command.  
    Top
    Public Methods
     NameDescription
    Public MethodDetermines if a command can be executed.  
    Public MethodExecutes a command with a specified additional data  
    Public MethodGets the control associated with a command.  
    Public MethodDetermines the check state of a command.  
    Public MethodProvides a humer readable desciption of the command  
    Public MethodUpdates the specified control with the current command state.  
    Top
    Protected Methods
     NameDescription
    Protected MethodInitializes the default values of all the fields.  
    Protected MethodFires the CommandExecuted event.  
    Protected MethodFires the UpdateCommand event.  
    Top
    Public Events
     NameDescription
    Public EventFired when the command was executed.  
    Public EventFired when a command needs to be updated.  
    Top
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also