Contact us

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 7.4

Skip to main content

Class Swatch

Namespace: Aurigma.DesignAtoms.Model.Color

Assembly: Aurigma.DesignAtoms.Model.dll

Syntax
public class Swatch : ModelComponent, ICloneable

Inheritance: System.Object -> Aurigma.DesignAtoms.Model.ModelComponent -> Swatch

Implements​

  • System.ComponentModel.INotifyPropertyChanged
  • System.ICloneable

Inherited Members​

Constructors​

Swatch​

public Swatch(string name, Color color, string group = null)

Swatch​

public Swatch(string name, SwatchValue swatchValue, string group = null)

Properties​

Color​

public Color Color { get; }

SwatchValue​

public SwatchValue SwatchValue { get; }

Group​

public string Group { get; }

Methods​

Clone​

public Swatch Clone()

Returns​

Aurigma.DesignAtoms.Model.Color.Swatch

Equals​

public override bool Equals(object obj)

Parameters​

TypeNameDescription
System.Objectobj

Returns​

System.Boolean

Overrides​

GetHashCode​

public override int GetHashCode()

Returns​

System.Int32

Overrides​

Was this page helpful?