Provides read-only access to a group's items through either its list-source view or its backing group list.
Definition
Namespace:Telerik.WinControls.UI.TreeMap
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class TreeMapGroupedItemsCollection : IReadOnlyCollection<TreeMapDataItem>, IEnumerable, IDisposable
Inheritance: objectTreeMapGroupedItemsCollection
Implements:
Constructors
Initializes an empty collection backed by a new list source.
public TreeMapGroupedItemsCollection()
Properties
Gets the number of items in the current view or backing group list.
public int Count { get; }
Implements:
InnerList
IList<TreeMapDataItem>
Gets or replaces the list used to supply this collection's items.
protected IList<TreeMapDataItem> InnerList { get; set; }
When the list is a RadListSource<TDataItem>, reads use its collection view; other lists are read directly. Replacing a list source disposes the previous source.
Gets the item at the specified position in the current view or backing group list.
public TreeMapDataItem this[int index] { get; }
The zero-based position of the item.
Implements:
Methods
Determines whether the current view or backing group list contains the specified item.
public bool Contains(TreeMapDataItem value)
The item to locate.
Returns:Implements:
Copies the current view or backing group list to an array, beginning at the specified array index.
public void CopyTo(TreeMapDataItem[] array, int index)
The destination array.
indexintThe zero-based destination index at which copying begins.
Implements:
Disposes the current inner list when it implements IDisposable.
public void Dispose()
Implements:
Returns an enumerator over the current view or backing group list.
public IEnumerator<TreeMapDataItem> GetEnumerator()
IEnumerator<TreeMapDataItem>
An enumerator for this group's items.
Returns the position of an item in the current view or backing group list.
public int IndexOf(TreeMapDataItem value)
The item to locate.
Returns:The item's zero-based position, or -1 if it is not present.
Implements:
Replaces the current list with a new list-source-backed collection view.
public void ResetListSource()
If the previous list is a RadListSource<TDataItem>, it is disposed before replacement.