Class PaletteEntry
Defines an entry in a ChartPalette instance.
Inheritance
Namespace: Telerik.XamarinForms.Chart
Assembly: Telerik.XamarinForms.Chart.dll
Syntax
public sealed class PaletteEntry : ValueType
Constructors
PaletteEntry(Color)
Initializes a new instance of the PaletteEntry struct.
Declaration
public PaletteEntry(Color fillColor)
Parameters
Xamarin.Forms.Color
fillColor
The fill color. |
PaletteEntry(Color, Color)
Initializes a new instance of the PaletteEntry struct.
Declaration
public PaletteEntry(Color fillColor, Color strokeColor)
Parameters
Xamarin.Forms.Color
fillColor
The fill color. |
Xamarin.Forms.Color
strokeColor
The stroke color. |
Properties
FillColor
Gets or sets the Xamarin.Forms.Color instance that defines the fill of the corresponding visual objects.
Declaration
public Color FillColor { get; set; }
Property Value
Xamarin.Forms.Color
|
StrokeColor
Gets or sets the Xamarin.Forms.Brush instance that defines the stroke of the corresponding visual objects.
Declaration
public Color StrokeColor { get; set; }
Property Value
Xamarin.Forms.Color
|
Methods
Equals(Object)
Determines whether the specified System.Object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Operators
Equality(PaletteEntry, PaletteEntry)
Determines whether the two palette entries are equal.
Declaration
public static bool operator ==(PaletteEntry entry1, PaletteEntry entry2)
Parameters
PaletteEntry
entry1
|
PaletteEntry
entry2
|
Returns
System.Boolean
|
Inequality(PaletteEntry, PaletteEntry)
Determines whether the two palette entries are not equal.
Declaration
public static bool operator !=(PaletteEntry entry1, PaletteEntry entry2)
Parameters
PaletteEntry
entry1
|
PaletteEntry
entry2
|
Returns
System.Boolean
|