ToolsCollection Class Members
The following tables list the members exposed by ToolsCollection.
Public Properties
Name | Description | |
---|---|---|
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 | Overloaded. Indexer to get the instance of the tool at the specified index of the ToolsCollection as an ITool object. | |
Keys | Tool keys in collection | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. |
Public Methods
Name | Description | |
---|---|---|
AddTool | Create an instance of a root tool and add it to the ToolsCollection, with the same Key. | |
Clear | Remove all tool instances from the ToolsCollection. | |
Contains | Determine if the tool instance with the specified Key exists in the ToolsCollection. | |
CopyTo | Copies the elements of the collection to an Array, starting at a particular Array index. | |
GetEnumerator | Returns an enumerator that can iterate through the Collection. | |
IndexOf | Get the index of the tool with given Key from the ToolsCollection. Returns -1 if tool is not in the collection. | |
InsertTool | Create an instance of a root tool and insert it into the ToolsCollection at the given index, with the same Key. | |
Remove | Remove the tool instance with the specified Key from the ToolsCollection. | |
RemoveAt | Remove the tool instance at the specified index position from the ToolsCollection. |
Protected Methods
Name | Description | |
---|---|---|
OnToolVisibleCountChanged | Fires when number of visble tools changes |
Public Events
Name | Description | |
---|---|---|
ToolVisibleCountChanged | Fires when tools added / removed |
See Also