Common Application Framework

CommandBarsCollection Members

CommandBarsCollection overview

Public Instance Properties

Count Gets the number of elements contained in the collection.
IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread-safe).
Item Indexer to get the CommandBar with given Key from the CommandBarCollection.
SyncRoot Gets an object that can be used to synchronize access to the collection.

Public Instance Methods

AddCommandBarOverloaded. Create and add to the CommandBarCollection a new CommandBar with given Key and associated CommandId.
AddTaskBar Create and add a new TaskBar with given Key to the CommandBarCollection.
Clear Remove all CommandBars from the CommandBarCollection.
Contains Determine if the CommandBar with the specified Key exists in the CommandBarCollection.
CopyTo Copies the elements of the collection to an Array, starting at a particular Array index.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through the CommandBarCollection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
RemoveCommandBarOverloaded. Remove the specified CommandBar from the CommandBarCollection.
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

CommandBarAdded Occurs after a CommandBar has been added to the CommandBarCollection.
CommandBarRemoved Occurs after a CommandBar has been removed from the CommandBarCollection.

See Also

CommandBarsCollection Class | Aveva.ApplicationFramework.Presentation Namespace