|
|
|
|
ItemCollectionClass Class |
ItemCollectionClass Class (Softelvdm.SftTreeNET Namespace)
An instance of the ItemCollectionClass class represents an item collection.
An item collection is a group of sibling items. A SftTree/NET control contains an item collection, which is accessible using the control's ItemCollection property.
Each item in turn can contain its own item collection (dependents), which is accessible through the ItemClass.Children property.
VB |
Public Class ItemCollectionClass Inherits CollectionBase |
C# |
public class ItemCollectionClass : CollectionBase |
C++ |
public ref class ItemCollectionClass : public CollectionBase |
Public |
Fields |
Events |
|||
Protected |
Constructors |
Fields |
|
Description |
|
none | This class cannot be instantiated. |
Description | |
Defines the number of items that the ItemCollectionClass instance can contain. | |
Count | Gets the number of elements contained in the CollectionBase instance. |
Returns the first item in the item collection. | |
Returns the specified item or cell. | |
Returns the last item in the item collection. | |
Returns the total number of items in this item collection, including any immediate and indirect dependents. | |
Returns the total number of items in this item collection that are visible, including any immediate and indirect dependents that are visible. | |
Description | |
Adds a new item at the end of the item collection. | |
Removes all items from the item collection. | |
Expands all items in the item collection so their dependents become visible. | |
Equals | Determines whether the specified Object is equal to the current Object. |
Collapses all items in the item collection so their dependents are hidden. | |
GetEnumerator | Returns an enumerator that iterates through the CollectionBase instance. |
GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetType | Gets the Type of the current instance. |
Inserts a new item at the start of the item collection. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. |
RemoveAt | Removes the element at the specified index of the CollectionBase instance. |
Sorts the items in the item collection. | |
ToString | Returns a String that represents the current Object. |
Description | |
InnerList | Gets an ArrayList containing the list of elements in the CollectionBase instance. |
List | Gets an IList containing the list of elements in the CollectionBase instance. |
Description | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone | Creates a shallow copy of the current Object. |
OnClear | Performs additional custom processes when clearing the contents of the CollectionBase instance. |
OnClearComplete | Performs additional custom processes after clearing the contents of the CollectionBase instance. |
OnInsert | Performs additional custom processes before inserting a new element into the CollectionBase instance. |
OnInsertComplete | Performs additional custom processes after inserting a new element into the CollectionBase instance. |
OnRemove | Performs additional custom processes when removing an element from the CollectionBase instance. |
OnRemoveComplete | Performs additional custom processes after removing an element from the CollectionBase instance. |
OnSet | Performs additional custom processes before setting a value in the CollectionBase instance. |
OnSetComplete | Performs additional custom processes after setting a value in the CollectionBase instance. |
OnValidate | Performs additional custom processes when validating a value. |
See Also Softelvdm.SftTreeNET Namespace