Class LayerCollection
Namespace: Aurigma.DesignAtoms.Canvas
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class LayerCollection : SelectableCollection<Layer>, IList<Layer>, ICollection<Layer>, IList, ICollection, IReadOnlyList<Layer>, IReadOnlyCollection<Layer>, IEnumerable<Layer>, IEnumerable
Inheritance: System.Object -> System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer> -> Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.Layer> -> Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.Layer> -> LayerCollection
Implements
System.Collections.Generic.IList<Aurigma.DesignAtoms.Canvas.Layer>System.Collections.Generic.ICollection<Aurigma.DesignAtoms.Canvas.Layer>System.Collections.IListSystem.Collections.ICollectionSystem.Collections.Generic.IReadOnlyList<Aurigma.DesignAtoms.Canvas.Layer>System.Collections.Generic.IReadOnlyCollection<Aurigma.DesignAtoms.Canvas.Layer>System.Collections.Generic.IEnumerable<Aurigma.DesignAtoms.Canvas.Layer>System.Collections.IEnumerable
Inherited Members
Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.Layer>.OnSelectedIndexChanged(System.Int32,System.Int32)Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.Layer>.Move(System.Int32,System.Int32)Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.Layer>.RemoveItem(System.Int32)Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.Layer>.SelectedItemAurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.Layer>.SelectedIndexAurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.Layer>.SelectedIndexChangedAurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.Layer>.AddRange(System.Collections.Generic.IEnumerable<Aurigma.DesignAtoms.Canvas.Layer>)Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.Layer>.OnCollectionCleared(Aurigma.DesignAtoms.Canvas.Layer[])Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.Layer>.SetItem(System.Int32,Aurigma.DesignAtoms.Canvas.Layer)Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.Layer>.OnItemMoved(System.Int32,System.Int32,Aurigma.DesignAtoms.Canvas.Layer)Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.Layer>.Item(System.Int32)Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.Layer>.ItemAddedAurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.Layer>.ItemRemovedAurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.Layer>.ItemMovedAurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.Layer>.CollectionClearedSystem.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.Add(Aurigma.DesignAtoms.Canvas.Layer)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.ClearSystem.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.CopyTo(Aurigma.DesignAtoms.Canvas.Layer[],System.Int32)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.Contains(Aurigma.DesignAtoms.Canvas.Layer)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.GetEnumeratorSystem.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.IndexOf(Aurigma.DesignAtoms.Canvas.Layer)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.Insert(System.Int32,Aurigma.DesignAtoms.Canvas.Layer)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.Remove(Aurigma.DesignAtoms.Canvas.Layer)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.RemoveAt(System.Int32)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#IEnumerable#GetEnumeratorSystem.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#ICollection#CopyTo(System.Array,System.Int32)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#IList#get_Item(System.Int32)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#IList#set_Item(System.Int32,System.Object)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#IList#Add(System.Object)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#IList#Contains(System.Object)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#IList#IndexOf(System.Object)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#IList#Insert(System.Int32,System.Object)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#IList#Remove(System.Object)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.CountSystem.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.ItemsSystem.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#Generic#ICollection<T>#IsReadOnlySystem.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#ICollection#IsSynchronizedSystem.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#ICollection#SyncRootSystem.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#IList#Item(System.Int32)System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#IList#IsReadOnlySystem.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Canvas.Layer>.System#Collections#IList#IsFixedSizeSystem.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Properties
Canvas
public ICanvas Canvas { get; }
Methods
GetLayersByName
public Layer[] GetLayersByName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | name |
Returns
Aurigma.DesignAtoms.Canvas.Layer[]
GetByName
public Layer GetByName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | name |
Returns
Aurigma.DesignAtoms.Canvas.Layer
GetByName
public Layer GetByName(string name, int startIndex)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | name | |
System.Int32 | startIndex |
Returns
Aurigma.DesignAtoms.Canvas.Layer
GetItemHandlersByName
public ItemHandler[] GetItemHandlersByName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | name |
Returns
Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler[]
ClearItems
protected override void ClearItems()
Overrides
Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.Layer>.ClearItems
InsertItem
protected override void InsertItem(int index, Layer item)
Parameters
| Type | Name | Description |
|---|---|---|
System.Int32 | index | |
| Aurigma.DesignAtoms.Canvas.Layer | item |
Overrides
Aurigma.DesignAtoms.Canvas.Collection.SelectableCollection<Aurigma.DesignAtoms.Canvas.Layer>.InsertItem(System.Int32,Aurigma.DesignAtoms.Canvas.Layer)
OnItemAdded
protected override void OnItemAdded(int index, Layer item)
Parameters
| Type | Name | Description |
|---|---|---|
System.Int32 | index | |
| Aurigma.DesignAtoms.Canvas.Layer | item |
Overrides
Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.Layer>.OnItemAdded(System.Int32,Aurigma.DesignAtoms.Canvas.Layer)
OnItemRemoved
protected override void OnItemRemoved(int index, Layer item)
Parameters
| Type | Name | Description |
|---|---|---|
System.Int32 | index | |
| Aurigma.DesignAtoms.Canvas.Layer | item |
Overrides
Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Canvas.Layer>.OnItemRemoved(System.Int32,Aurigma.DesignAtoms.Canvas.Layer)