[]
        
(Showing Draft Content)

C1.Framework.ElementList

ElementList Class

Contains a list of Elements that belong to a parent element.

Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public class ElementList : ArrayList, IList, ICollection, IEnumerable, ICloneable

Constructors

Name Description
ElementList(Element)

Initializes a new instance of the ElementList class for the specified owning element.

Properties

Name Description
this[int]

Gets or sets the Element at a specified index in the list.

Last

Gets or sets the last Element on the list.

Owner

Gets a reference to the Element that owns this ElementList.

Methods

Name Description
Add(object)

Adds an Element to the list.

Clear()

Removes all elements from the list.

Insert(int, object)

Inserts an Element at a specified index.

InsertRange(int, ICollection)

Inserts the elements of a collection into the list at the specified index.

Offset(int, int)

Adjusts the location of all Element objects in the list by the specified amount.

Offset(int, int, int, int)

Adjusts the location of some Element objects in the list by the specified amount.

OnListChanged()

Called when elements are added or removed from the list.

RemoveAt(int)

Removes the Element at the specified index from the list.

RemoveRange(int, int)

Removes a range of elements from the list.

Reverse()

Reverses the order of the elements in the list or a portion of it.

Reverse(int, int)

Reverses the order of the elements in the list or a portion of it.