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


The following tables list the members exposed by CommandCollection.

Public Properties

  Name Description
Public Property Capacity Gets or sets the number of elements that the CollectionBase can contain. (Inherited from System.Collections.CollectionBase)
Public Property Count Gets the number of elements contained in the CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public Property Item Gets or sets the object at the specified index within the collection.
Gets or sets the Command at the specified index within the collection.  
Top

Public Methods

  Name Description
Public Method Add Enterprise Only Feature. Adds the specified Command object to the collection.
Adds the specified Command object to the CommandCollection.  
Public Method Clear Removes all objects from the CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public Method Contains Enterprise Only Feature. Determines whether the specified Command is in the collection.
Determines whether the specified Command is in the CommandCollection.  
Public Method Dispose Enterprise Only Feature. Disposes of an object via the IDisposable interface.
Disposes of the current object. (Inherited from CommandElementCollection)
Public Method FindCommand Overloaded. Enterprise Only Feature. Finds a Command in the collection.  
Public Method GetEnumerator Returns an enumerator that iterates through the CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public Method IndexOf

Enterprise Only Feature. Retrieves the index of a specified object in the collection, or -1 if not found.


Returns the zero-based index of the first occurrence of a Command in the CommandCollection.  
Public Method Insert Enterprise Only Feature. Inserts a Command into the collection.
Inserts a Command into the CommandCollection.  
Public Method Remove

Enterprise Only Feature. Removes the first occurrence of a specified object from the collection.


Removes a Command from the CommandCollection.  
Public Method RemoveAt Removes the element at the specified index of the CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public Method UpdateUI Enterprise Only Feature. Invalidates (i.e. updates) all visual controls connected with the Command objects in the collection.
Invalidates all visual controls connected with Command elements in the CommandCollection.  
Top

See Also

© 2009 All Rights Reserved.