Skip to main content

CustomPalette Members

Represents a custom color palette.

Constructors

Name Description
CustomPalette(String, IEnumerable<Color>, Boolean) Initializes a new instance of the CustomPalette class with the specified settings.
CustomPalette(String, IEnumerable<Color>) Initializes a new instance of the CustomPalette class with the specified name and colors.

Properties

Name Description
CalcBorder Gets whether to paint top/bottom borders between neighboring color chips. Inherited from ColorPalette.
Colors Gets the colors displayed within the palette. Inherited from ColorPalette.
Name Gets the palette’s name. Inherited from ColorPalette.

Methods

Name Description
CreateGradientPalette(String, ColorCollection) static Returns a palette filled with gradient colors from specified base colors. Inherited from ColorPalette.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also