Class Swatch
Inheritance
System.Object
Swatch
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class Swatch : ModelComponent, ICloneable
Constructors
Swatch(String, Color, String)
Declaration
public Swatch(string name, Color color, string group = null)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| Color |
color |
|
| System.String |
group |
|
Swatch(String, SwatchValue, String)
Declaration
public Swatch(string name, SwatchValue swatchValue, string group = null)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| SwatchValue |
swatchValue |
|
| System.String |
group |
|
Properties
Color
Declaration
public Color Color { get; }
Property Value
Group
Declaration
public string Group { get; }
Property Value
| Type |
Description |
| System.String |
|
SwatchValue
Declaration
public SwatchValue SwatchValue { get; }
Property Value
Methods
Clone()
Declaration
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable