Skip to main content

Class Palette

Namespace: Aurigma.DesignAtoms.Model.Color
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class Palette : Collection<Swatch>, IList<Swatch>, ICollection<Swatch>, IList, ICollection, IReadOnlyList<Swatch>, IReadOnlyCollection<Swatch>, IEnumerable<Swatch>, IEnumerable

Inheritance: System.Object -> System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch> -> Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch> -> Palette

Implements

  • System.Collections.Generic.IList<Aurigma.DesignAtoms.Model.Color.Swatch>
  • System.Collections.Generic.ICollection<Aurigma.DesignAtoms.Model.Color.Swatch>
  • System.Collections.IList
  • System.Collections.ICollection
  • System.Collections.Generic.IReadOnlyList<Aurigma.DesignAtoms.Model.Color.Swatch>
  • System.Collections.Generic.IReadOnlyCollection<Aurigma.DesignAtoms.Model.Color.Swatch>
  • System.Collections.Generic.IEnumerable<Aurigma.DesignAtoms.Model.Color.Swatch>
  • System.Collections.IEnumerable

Inherited Members

  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.AddRange(System.Collections.Generic.IEnumerable<Aurigma.DesignAtoms.Model.Color.Swatch>)
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.ClearItems
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.OnCollectionCleared(Aurigma.DesignAtoms.Model.Color.Swatch[])
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.InsertItem(System.Int32,Aurigma.DesignAtoms.Model.Color.Swatch)
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.OnItemAdded(System.Int32,Aurigma.DesignAtoms.Model.Color.Swatch)
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.RemoveItem(System.Int32)
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.OnItemRemoved(System.Int32,Aurigma.DesignAtoms.Model.Color.Swatch)
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.SetItem(System.Int32,Aurigma.DesignAtoms.Model.Color.Swatch)
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.Move(System.Int32,System.Int32)
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.OnItemMoved(System.Int32,System.Int32,Aurigma.DesignAtoms.Model.Color.Swatch)
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.Item(System.Int32)
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.ItemAdded
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.ItemRemoved
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.ItemMoved
  • Aurigma.DesignAtoms.Canvas.Collection.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.CollectionCleared
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.Add(Aurigma.DesignAtoms.Model.Color.Swatch)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.Clear
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.CopyTo(Aurigma.DesignAtoms.Model.Color.Swatch[],System.Int32)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.Contains(Aurigma.DesignAtoms.Model.Color.Swatch)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.GetEnumerator
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.IndexOf(Aurigma.DesignAtoms.Model.Color.Swatch)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.Insert(System.Int32,Aurigma.DesignAtoms.Model.Color.Swatch)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.Remove(Aurigma.DesignAtoms.Model.Color.Swatch)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.RemoveAt(System.Int32)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#IEnumerable#GetEnumerator
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#ICollection#CopyTo(System.Array,System.Int32)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#IList#get_Item(System.Int32)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#IList#set_Item(System.Int32,System.Object)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#IList#Add(System.Object)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#IList#Contains(System.Object)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#IList#IndexOf(System.Object)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#IList#Insert(System.Int32,System.Object)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#IList#Remove(System.Object)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.Count
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.Items
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#Generic#ICollection<T>#IsReadOnly
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#ICollection#IsSynchronized
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#ICollection#SyncRoot
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#IList#Item(System.Int32)
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#IList#IsReadOnly
  • System.Collections.ObjectModel.Collection<Aurigma.DesignAtoms.Model.Color.Swatch>.System#Collections#IList#IsFixedSize
  • System.Object.ToString
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.GetType
  • System.Object.MemberwiseClone

Constructors

Palette

public Palette()

Palette

public Palette(IEnumerable<Swatch> collection, string uid = null)

Properties

UID

public string UID { get; }

Swatches

public List<Swatch> Swatches { get; set; }

Methods

Clone

public Palette Clone()
Returns

Aurigma.DesignAtoms.Model.Color.Palette

Equals

public override bool Equals(object obj)
Parameters
TypeNameDescription
System.Objectobj
Returns

System.Boolean

Overrides
  • System.Object.Equals(System.Object)

Equals

public static bool Equals(Palette a, Palette b)
Parameters
TypeNameDescription
Aurigma.DesignAtoms.Model.Color.Palettea
Aurigma.DesignAtoms.Model.Color.Paletteb
Returns

System.Boolean

GetHashCode

public override int GetHashCode()
Returns

System.Int32

Overrides
  • System.Object.GetHashCode
Was this page helpful?