Struct
PaletteEntry

Defines an entry in a ChartPalette instance.

Definition

Namespace:Telerik.Maui.Controls.Compatibility.Chart

Assembly:Telerik.Maui.Controls.Compatibility.dll

Syntax:

cs-api-definition
public struct PaletteEntry

Inherited Members ValueType.ToString()

Constructors

PaletteEntry(Color)

Initializes a new instance of the PaletteEntry struct.

Declaration

cs-api-definition
public PaletteEntry(Color fillColor)

Parameters

fillColor

Color

The fill color.

PaletteEntry(Color, Color)

Initializes a new instance of the PaletteEntry struct.

Declaration

cs-api-definition
public PaletteEntry(Color fillColor, Color strokeColor)

Parameters

fillColor

Color

The fill color.

strokeColor

Color

The stroke color.

Properties

FillColor

Gets or sets the Color instance that defines the fill of the corresponding visual objects.

Declaration

cs-api-definition
public Color FillColor { get; set; }

Property Value

Color

StrokeColor

Gets or sets the Color instance that defines the stroke of the corresponding visual objects.

Declaration

cs-api-definition
public Color StrokeColor { get; set; }

Property Value

Color

Methods

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides ValueType.Equals(object)

GetHashCode()

Returns a hash code for this instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides ValueType.GetHashCode()

Operators

operator !=(PaletteEntry, PaletteEntry)

Determines whether the two palette entries are not equal.

Declaration

cs-api-definition
public static bool operator !=(PaletteEntry entry1, PaletteEntry entry2)

Parameters

entry1

PaletteEntry

entry2

PaletteEntry

Returns

bool

operator ==(PaletteEntry, PaletteEntry)

Determines whether the two palette entries are equal.

Declaration

cs-api-definition
public static bool operator ==(PaletteEntry entry1, PaletteEntry entry2)

Parameters

entry1

PaletteEntry

entry2

PaletteEntry

Returns

bool