BCGControlBar Library for .NET
CollectionWithEvents Class Members
Properties  Methods  Events


The following tables list the members exposed by CollectionWithEvents.

Public Constructors
 NameDescription
Public ConstructorCollectionWithEvents ConstructorInitializes a new instance of the CollectionWithEvent class.  
Top
Public Properties
 NameDescription
Public PropertyCapacityGets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase)
Public PropertyCountGets the number of elements contained in the System.Collections.CollectionBase instance. This property cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public PropertyDisableEventsIndicates a value if such events as OnCollectionChanged or OnItemPropertyChanged are disabled.  
Public PropertyDisposeElementsOnClearSpecifies if all elements from the CollectionWithEvent should be disposed after its clearing.  
Public PropertyForceEventsIndicates a value if such events as OnCollectionChanged or OnItemPropertyChanged are always enabled even the value of the property DisposeElementsOnClear is true.  
Public PropertyIsFixedSizeGets a value indicating whether the CollectionWithEvents object has a fixed size.  
Public PropertyIsReadOnlyGets a value indicating whether the CollectionWithEvents is read-only.  
Public PropertyIsSynchronizedGets a value indicating whether the access to the CollectionWithEvents is synchronized (thread safe).  
Public PropertyItem

Gets or sets the element at the specified index.

 
Public PropertySyncRootGets an object that can be used to synchronize access to the CollectionWithEvents.  
Public PropertyUniqueGets or sets a value that indicates whether the items in CollectionWithEvent object must be unique.  
Top
Protected Properties
 NameDescription
Protected PropertyInnerListGets an System.Collections.ArrayList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected PropertyListGets an System.Collections.IList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Top
Public Methods
 NameDescription
Public MethodAddAdds an element to a CollectionWithEvent object.  
Public MethodClearRemoves all objects from the System.Collections.CollectionBase instance. This method cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public MethodContainsReturns a Boolean value indicating whether a CollectionWithEvents object contains a specified element.  
Public MethodGetEnumeratorReturns an enumerator that iterates through the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public MethodIndexOfDetermines the index of a specific item in the CollectionWithEvents object.  
Public MethodInsertInserts an item to the CollectionWithEvents object at the specified index.  
Public MethodRemoveRemoves the first occurrance of the specific object from the CollectionWithEvents object.  
Public MethodRemoveAtRemoves the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable. (Inherited from System.Collections.CollectionBase)
Top
Protected Methods
 NameDescription
Protected MethodOnClearOverridden.   
Protected MethodOnClearCompleteOverridden.   
Protected MethodOnCollectionChanged  
Protected MethodOnInsertOverridden.   
Protected MethodOnInsertCompleteOverridden.   
Protected MethodOnItemPropertyChanged  
Protected MethodOnRemovePerforms additional custom processes when removing an element from the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnRemoveCompleteOverridden.   
Protected MethodOnSetOverridden.   
Protected MethodOnSetCompleteOverridden.   
Protected MethodOnValidatePerforms additional custom processes when validating a value. (Inherited from System.Collections.CollectionBase)
Protected Methodraise_CollectionChanged  
Protected Methodraise_ItemPropertyChanged  
Top
Public Events
 NameDescription
Public EventCollectionChangedOccurs when the collection has changed.  
Public EventItemPropertyChangedOccurs when a property was changed for any item from the collection.  
Top
See Also

Reference

CollectionWithEvents Class
BCGSoft.Shared Namespace

Send Feedback