Back to Website
Show / Hide Table of Contents

Class Swatch

Inheritance
System.Object
ModelComponent
Swatch
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable
Inherited Members
ModelComponent.UserTagKey
ModelComponent.WarningTagKey
ModelComponent.Tags
ModelComponent.GenerateId()
ModelComponent.ToString()
ModelComponent.Equals(ModelComponent)
ModelComponent.DeepClone<TItem>(TItem, Boolean)
ModelComponent.Clone(Boolean)
ModelComponent.OnPropertyChanged(String)
ModelComponent.Version
ModelComponent.Id
ModelComponent.Name
ModelComponent.PropertyChanged
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Model.Color
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
Type Description
Color

Group

Declaration
public string Group { get; }
Property Value
Type Description
System.String

SwatchValue

Declaration
public SwatchValue SwatchValue { get; }
Property Value
Type Description
SwatchValue

Methods

Clone()

Declaration
public Swatch Clone()
Returns
Type Description
Swatch

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
ModelComponent.Equals(Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
ModelComponent.GetHashCode()

Implements

System.ComponentModel.INotifyPropertyChanged
System.ICloneable
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback