BCGSoft.Shared Namespace : CollectionWithEvents Class |
The following tables list the members exposed by CollectionWithEvents.
Name | Description | |
---|---|---|
![]() | CollectionWithEvents Constructor | Initializes a new instance of the CollectionWithEvent class. |
Name | Description | |
---|---|---|
![]() | Capacity | Gets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase) |
![]() | Count | Gets the number of elements contained in the System.Collections.CollectionBase instance. This property cannot be overridden. (Inherited from System.Collections.CollectionBase) |
![]() | DisableEvents | Indicates a value if such events as OnCollectionChanged or OnItemPropertyChanged are disabled. |
![]() | DisposeElementsOnClear | Specifies if all elements from the CollectionWithEvent should be disposed after its clearing. |
![]() | ForceEvents | Indicates a value if such events as OnCollectionChanged or OnItemPropertyChanged are always enabled even the value of the property DisposeElementsOnClear is true. |
![]() | IsFixedSize | Gets a value indicating whether the CollectionWithEvents object has a fixed size. |
![]() | IsReadOnly | Gets a value indicating whether the CollectionWithEvents is read-only. |
![]() | IsSynchronized | Gets a value indicating whether the access to the CollectionWithEvents is synchronized (thread safe). |
![]() | Item | Gets or sets the element at the specified index. |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the CollectionWithEvents. |
![]() | Unique | Gets or sets a value that indicates whether the items in CollectionWithEvent object must be unique. |
Name | Description | |
---|---|---|
![]() | InnerList | Gets an System.Collections.ArrayList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) |
![]() | List | Gets an System.Collections.IList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) |
Name | Description | |
---|---|---|
![]() | Add | Adds an element to a CollectionWithEvent object. |
![]() | Clear | Removes all objects from the System.Collections.CollectionBase instance. This method cannot be overridden. (Inherited from System.Collections.CollectionBase) |
![]() | Contains | Returns a Boolean value indicating whether a CollectionWithEvents object contains a specified element. |
![]() | GetEnumerator | Returns an enumerator that iterates through the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) |
![]() | IndexOf | Determines the index of a specific item in the CollectionWithEvents object. |
![]() | Insert | Inserts an item to the CollectionWithEvents object at the specified index. |
![]() | Remove | Removes the first occurrance of the specific object from the CollectionWithEvents object. |
![]() | RemoveAt | Removes the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable. (Inherited from System.Collections.CollectionBase) |
Name | Description | |
---|---|---|
![]() | OnClear | Overridden. |
![]() | OnClearComplete | Overridden. |
![]() | OnCollectionChanged | |
![]() | OnInsert | Overridden. |
![]() | OnInsertComplete | Overridden. |
![]() | OnItemPropertyChanged | |
![]() | OnRemove | Performs additional custom processes when removing an element from the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase) |
![]() | OnRemoveComplete | Overridden. |
![]() | OnSet | Overridden. |
![]() | OnSetComplete | Overridden. |
![]() | OnValidate | Performs additional custom processes when validating a value. (Inherited from System.Collections.CollectionBase) |
![]() | raise_CollectionChanged | |
![]() | raise_ItemPropertyChanged |
Name | Description | |
---|---|---|
![]() | CollectionChanged | Occurs when the collection has changed. |
![]() | ItemPropertyChanged | Occurs when a property was changed for any item from the collection. |