Back to Website
Show / Hide Table of Contents

Class SelectableCollection<T>

Inheritance
System.Object
System.Collections.ObjectModel.Collection<T>
Collection<T>
SelectableCollection<T>
ItemHandlersCollection
LayerCollection
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Inherited Members
Collection<T>.AddRange(IEnumerable<T>)
Collection<T>.OnCollectionCleared(T[])
Collection<T>.OnItemAdded(Int32, T)
Collection<T>.OnItemRemoved(Int32, T)
Collection<T>.SetItem(Int32, T)
Collection<T>.OnItemMoved(Int32, Int32, T)
Collection<T>.Item[Int32]
Collection<T>.ItemAdded
Collection<T>.ItemRemoved
Collection<T>.ItemMoved
Collection<T>.CollectionCleared
System.Collections.ObjectModel.Collection<T>.Add(T)
System.Collections.ObjectModel.Collection<T>.Clear()
System.Collections.ObjectModel.Collection<T>.CopyTo(T[], System.Int32)
System.Collections.ObjectModel.Collection<T>.Contains(T)
System.Collections.ObjectModel.Collection<T>.GetEnumerator()
System.Collections.ObjectModel.Collection<T>.IndexOf(T)
System.Collections.ObjectModel.Collection<T>.Insert(System.Int32, T)
System.Collections.ObjectModel.Collection<T>.Remove(T)
System.Collections.ObjectModel.Collection<T>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<T>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<T>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<T>.Count
System.Collections.ObjectModel.Collection<T>.Items
System.Collections.ObjectModel.Collection<T>.System.Collections.Generic.ICollection<T>.IsReadOnly
System.Collections.ObjectModel.Collection<T>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<T>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.Item[System.Int32]
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.IsFixedSize
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Canvas.Collection
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class SelectableCollection<T> : Collection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : class
Type Parameters
Name Description
T

Constructors

SelectableCollection()

Declaration
public SelectableCollection()

Properties

SelectedIndex

Declaration
public int SelectedIndex { get; set; }
Property Value
Type Description
System.Int32

SelectedItem

Declaration
public T SelectedItem { get; set; }
Property Value
Type Description
T

Methods

ClearItems()

Declaration
protected override void ClearItems()
Overrides
Aurigma.DesignAtoms.Canvas.Collection.Collection<T>.ClearItems()

InsertItem(Int32, T)

Declaration
protected override void InsertItem(int index, T item)
Parameters
Type Name Description
System.Int32 index
T item
Overrides
Aurigma.DesignAtoms.Canvas.Collection.Collection<T>.InsertItem(System.Int32, T)

Move(Int32, Int32)

Declaration
public override T Move(int oldIndex, int newIndex)
Parameters
Type Name Description
System.Int32 oldIndex
System.Int32 newIndex
Returns
Type Description
T
Overrides
Aurigma.DesignAtoms.Canvas.Collection.Collection<T>.Move(System.Int32, System.Int32)

OnSelectedIndexChanged(Int32, Int32)

Declaration
protected virtual void OnSelectedIndexChanged(int oldIndex, int newIndex)
Parameters
Type Name Description
System.Int32 oldIndex
System.Int32 newIndex

RemoveItem(Int32)

Declaration
protected override void RemoveItem(int index)
Parameters
Type Name Description
System.Int32 index
Overrides
Aurigma.DesignAtoms.Canvas.Collection.Collection<T>.RemoveItem(System.Int32)

Events

SelectedIndexChanged

Declaration
public event EventHandler<SelectedIndexChangedEventArgs> SelectedIndexChanged
Event Type
Type Description
System.EventHandler<SelectedIndexChangedEventArgs>

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods

IEnumerableExtensions.SliceWhile<T>(IEnumerable<T>, Func<T, Boolean>, Boolean)
IEnumerableExtensions.Empty<T>(IEnumerable<T>)
IEnumerableExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
Back to top Copyright © 2001–2022 Aurigma, Inc. All rights reserved.
Loading...