Class PaletteEntry
Defines an entry in a ChartPalette instance.
Inheritance
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public sealed class PaletteEntry : ValueType
Constructors
PaletteEntry(Brush)
Initializes a new instance of the PaletteEntry struct.
Declaration
public PaletteEntry(Brush fill)
Parameters
System.Windows.Media.Brush
fill
The fill. |
PaletteEntry(Brush, Brush)
Initializes a new instance of the PaletteEntry struct.
Declaration
public PaletteEntry(Brush fill, Brush stroke)
Parameters
System.Windows.Media.Brush
fill
The fill. |
System.Windows.Media.Brush
stroke
The stroke. |
PaletteEntry(Brush, Brush, Brush)
Initializes a new instance of the PaletteEntry struct.
Declaration
public PaletteEntry(Brush fill, Brush stroke, Brush additionalFill)
Parameters
System.Windows.Media.Brush
fill
The fill. |
System.Windows.Media.Brush
stroke
The stroke. |
System.Windows.Media.Brush
additionalFill
The secondary fill. |
PaletteEntry(Brush, Brush, Brush, Brush)
Initializes a new instance of the PaletteEntry struct.
Declaration
public PaletteEntry(Brush fill, Brush stroke, Brush additionalFill, Brush additionalStroke)
Parameters
System.Windows.Media.Brush
fill
The fill. |
System.Windows.Media.Brush
stroke
The stroke. |
System.Windows.Media.Brush
additionalFill
The secondary fill. |
System.Windows.Media.Brush
additionalStroke
The secondary stroke. |
Properties
AdditionalFill
Gets or sets the System.Windows.Media.Brush instance that defines the up-fill of the corresponding visual objects.
Declaration
public Brush AdditionalFill { get; set; }
Property Value
System.Windows.Media.Brush
|
AdditionalStroke
Gets or sets the System.Windows.Media.Brush instance that defines the stroke of the corresponding visual objects.
Declaration
public Brush AdditionalStroke { get; set; }
Property Value
System.Windows.Media.Brush
|
Fill
Gets or sets the System.Windows.Media.Brush instance that defines the fill of the corresponding visual objects.
Declaration
public Brush Fill { get; set; }
Property Value
System.Windows.Media.Brush
|
Stroke
Gets or sets the System.Windows.Media.Brush instance that defines the stroke of the corresponding visual objects.
Declaration
public Brush Stroke { get; set; }
Property Value
System.Windows.Media.Brush
|
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
|