ToolCollection Class

Represents a collection of Tool objects.

Definition

Namespace: BeeMobile.ToolBar
Assembly: BeeMobile.ToolBar.NET48 (in BeeMobile.ToolBar.NET48.dll) Version: 4.8.3.5
C#
public class ToolCollection : CollectionBase, 
	INotifyPropertyChanged, IDisposable
Inheritance
Object    CollectionBase    ToolCollection
Implements
INotifyPropertyChanged, IDisposable

Remarks

Provides methods for adding, inserting, removing, clearing as well as getting Tool objects.

Constructors

ToolCollection Initializes an instance of ToolCollection class.

Properties

CapacityGets or sets the number of elements that the CollectionBase can contain.
(Inherited from CollectionBase)
CountGets the number of elements contained in the CollectionBase instance. This property cannot be overridden.
(Inherited from CollectionBase)
InnerListGets an ArrayList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase)
Item Gets or sets a Tool at particular index.
ListGets an IList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase)

Methods

Add Adds a new Tool object to the collection.
ClearRemoves all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase)
Contains Tests whether the collection contains a specific Tool.
Dispose Clean up any resources being used by this class.
Dispose(Boolean) Disposes resources used by this class.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Destructor for the class - invokes Dispose(Boolean) with false parameter.
(Overrides ObjectFinalize)
GetEnumeratorReturns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IndexOf Determines the index of a specific Tool in the collection.
Insert Inserts a Tool to the collection at the specified index.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnClear Performs additional custom processes when clearing the contents of the collection instance.
(Overrides CollectionBaseOnClear)
OnClearComplete Performs additional custom processes after inserting a new Tool into the collection.
(Overrides CollectionBaseOnClearComplete)
OnInsertPerforms additional custom processes before inserting a new element into the CollectionBase instance.
(Inherited from CollectionBase)
OnInsertComplete Performs additional custom processes after inserting a new Tool into the collection.
(Overrides CollectionBaseOnInsertComplete(Int32, Object))
OnPropertyChanged Fires the PropertyChanged event.
OnRemove Performs additional custom processes when removing an element from the CollectionBase instance.
(Overrides CollectionBaseOnRemove(Int32, Object))
OnRemoveComplete Performs additional custom processes after removing a Tool from the collection.
(Overrides CollectionBaseOnRemoveComplete(Int32, Object))
OnSetPerforms additional custom processes before setting a value in the CollectionBase instance.
(Inherited from CollectionBase)
OnSetCompletePerforms additional custom processes after setting a value in the CollectionBase instance.
(Inherited from CollectionBase)
OnValidatePerforms additional custom processes when validating a value.
(Inherited from CollectionBase)
Remove Removes the first occurrence of a specific Tool from the collection.
RemoveAt Removes the Tool at the specified index.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

PropertyChanged Raised whenever a value of a property changes.

See Also