Dundas Chart for Windows Forms
Command Class Members
See Also  Properties  Methods  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace : Command Class


The following tables list the members exposed by Command.

Public Constructors

  Name Description
Public Constructor Command Constructor Enterprise Only Feature. Public constructor, creates a new instance of a Command.
Initialize a new instance of Command object.  
Top

Public Properties

  Name Description
Public Property CommandID Enterprise Only Feature. Gets or sets the unique identifier of the command.
Gets or sets the unique identifier of the command.  
Public Property CommandType Enterprise Only Feature. Gets or sets the command type, which determines the functionality of the command being executed.
Gets or sets the command type. The command type determines the functionality of the command being executed.  
Public Property Description Enterprise Only Feature. Gets or sets the description text for the command, which is displayed as a tooltip on the toolbar.
Gets or sets the description text for the command. This is displayed as a tooltip on the toolbar.  
Public Property Enabled Enterprise Only Feature. Gets or sets the enabled flag for the command, which determines if the command can be executed.
Gets or sets the enabled flag for the command. Determines if the command can be executed.  
Public Property Image Enterprise Only Feature. Gets or sets the image of the command.
Gets or sets the image of the command.  
Public Property ImageTranspColor Enterprise Only Feature. Gets or sets a color used for transparency when drawing an image in toolbar and context menu.
Gets or sets a color used for transparency when drawing an image in toolbar and context menu.  
Public Property Index Enterprise Only Feature. Gets or sets the index of the command, which determines the position of the command within the collection.
Gets or sets the index of the command which determines the position of the command within the collection.  
Public Property Name Enterprise Only Feature. Gets the unique name of the command.
Gets the unique name of the command.  
Public Property Parameters Enterprise Only Feature. Gets the command parameters, used when executing the command.
The command parameter which is used to execute this command.  
Public Property PopupStyle Enterprise Only Feature. Gets or sets the style of the pop-up object, which is displayed for commands with one or more sub-commands.
Gets or sets the style of the pop-up object, displayed for commands with one or more sub-commands.  
Public Property Shortcut Enterprise Only Feature. Gets or sets a value that determines the shortcut key associated with the command.
Gets or sets a value indicating the shortcut key associated with the command.  
Public Property SubCommands Enterprise Only Feature. Gets the SubCommands collection of the command.
Gets the SubCommands collection of the command.  
Public Property SupportedElements Enterprise Only Feature. Gets or sets the supported elements of the command.
Gets or sets the supported elements of the command.  
Public Property Text Enterprise Only Feature. Gets or sets the text of the command that appears on both the toolbar and context menu.
Gets or sets the text of the command that appears on both the toolbar and context menu.  
Public Property Toggled Enterprise Only Feature. Gets or sets the toggled flag for the command, which determines how toolbar and context menu item commands are displayed.
Gets or sets the toggled flag for the command.  
Public Property ToggleGroupID Enterprise Only Feature. Gets or sets the group ID of the command. If not zero then all elements with this value will be grouped together, exhibiting the same behavior as a radio button list.
Gets or sets the group ID of the command. If not zero, all elements with this value will be grouped together exhibiting the same behavior as a radio button list.  
Public Property ToggleStyle Enterprise Only Feature. Determines the toggled behavior of the command in a toolbar or context menu.
Determines the toggle behavior in the toolbar and context menu.  
Public Property UseLastSubCommand Enterprise Only Feature. Determines if the last sub-command executed will be set as the default behavior.
Determines if the last sub-command executed will be set as the default behavior.  
Public Property Visible Enterprise Only Feature. Gets or sets the visibility attribute of the command on the toolbar and context menu.
Gets or sets the visibility attribute of the command on the toolbar and context menu.  
Top

Public Methods

  Name Description
Public Method Dispose Enterprise Only Feature. Disposes of an object via the IDisposable interface.
Implement IDisposable. (Inherited from CommandElement)
Public Method Execute Overloaded. Enterprise Only Feature. Executes a command.  
Public Method GetImage Enterprise Only Feature. Gets the image associated with the command.
Gets the image associated with the command.  
Public Method IsEnabled Overloaded. Enterprise Only Feature. Gets the enabled state of the command.  
Public Method IsToggled Overloaded. Enterprise Only Feature. Evaluates the pressed state of the command.  
Public Method Popup Enterprise Only Feature. Brings up a pop-up control with sub-commands.
Brings up a pop-up control with sub-commands.  
Public Method SetDefaultSubCommand Enterprise Only Feature. Sets a sub-command as the default command.
Sets a sub-command as a default one.  
Public Method ToString Overridden. Enterprise Only Feature. Returns a string that represents the current command.
Returns a string that represents the current command.  
Top

See Also

© 2009 All Rights Reserved.