---
title: "Class ItemHandlersCollection | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandlersCollection/"
---

# Class ItemHandlersCollection

> **Inheritance:** `System.Object` -> `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>` -> `Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>` -> `Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>` -> ItemHandlersCollection

###### **Namespace**: [Aurigma.DesignAtoms.Canvas.ItemHandlers](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers.md)

###### **Assembly**: Aurigma.DesignAtoms.dll

```csharp title="Syntax"
public class ItemHandlersCollection : SelectableCollection<ItemHandler>, IList<ItemHandler>, ICollection<ItemHandler>, IList, ICollection, IReadOnlyList<ItemHandler>, IReadOnlyCollection<ItemHandler>, IEnumerable<ItemHandler>, IEnumerable
```

## Implements

* `System.Collections.Generic.IList<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>`
* `System.Collections.Generic.ICollection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>`
* `System.Collections.IList`
* `System.Collections.ICollection`
* `System.Collections.Generic.IReadOnlyList<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>`
* `System.Collections.Generic.IReadOnlyCollection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>`
* `System.Collections.Generic.IEnumerable<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>`
* `System.Collections.IEnumerable`

## Inherited Members

* `Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.OnSelectedIndexChanged(System.Int32,System.Int32)`
* `Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.Move(System.Int32,System.Int32)`
* `Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.RemoveItem(System.Int32)`
* `Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.SelectedItem`
* `Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.SelectedIndex`
* `Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.SelectedIndexChanged`
* `Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.AddRange(System.Collections.Generic.IEnumerable<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>)`
* `Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.OnCollectionCleared(Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler[])`
* `Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.SetItem(System.Int32,Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler)`
* `Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.OnItemMoved(System.Int32,System.Int32,Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler)`
* `Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.Item(System.Int32)`
* `Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.ItemAdded`
* `Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.ItemRemoved`
* `Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.ItemMoved`
* `Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.CollectionCleared`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.Add(Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.Clear`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.CopyTo(Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler[],System.Int32)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.Contains(Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.GetEnumerator`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.IndexOf(Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.Insert(System.Int32,Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.Remove(Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.RemoveAt(System.Int32)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#IEnumerable#GetEnumerator`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#ICollection#CopyTo(System.Array,System.Int32)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#IList#get_Item(System.Int32)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#IList#set_Item(System.Int32,System.Object)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#IList#Add(System.Object)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#IList#Contains(System.Object)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#IList#IndexOf(System.Object)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#IList#Insert(System.Int32,System.Object)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#IList#Remove(System.Object)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.Count`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.Items`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#Generic#ICollection<T>#IsReadOnly`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#ICollection#IsSynchronized`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#ICollection#SyncRoot`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#IList#Item(System.Int32)`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.System#Collections#IList#IsReadOnly`
* `System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.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`

## Properties

### Layer

```csharp
public Layer Layer { get; }
```

## Methods

### GetItemHandlersByName

```csharp
public ItemHandler[] GetItemHandlersByName(string name)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.String` | *name* |  |

##### Returns

`Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler[]`

### ClearItems

```csharp
protected override void ClearItems()
```

##### Overrides

* `Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.ClearItems`

### InsertItem

```csharp
protected override void InsertItem(int index, ItemHandler item)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Int32` | *index* |  |
| [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md) | *item* |  |

##### Overrides

* `Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.InsertItem(System.Int32,Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler)`

### OnItemAdded

```csharp
protected override void OnItemAdded(int index, ItemHandler item)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Int32` | *index* |  |
| [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md) | *item* |  |

##### Overrides

* `Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.OnItemAdded(System.Int32,Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler)`

### OnItemRemoved

```csharp
protected override void OnItemRemoved(int index, ItemHandler item)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Int32` | *index* |  |
| [Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Canvas.ItemHandlers/ItemHandler.md) | *item* |  |

##### Overrides

* `Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler>.OnItemRemoved(System.Int32,Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler)`
