Class PaletteEntry
Defines an entry in a ChartPalette instance.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class PaletteEntry
Constructors
PaletteEntry(Color)
Initializes a new instance of the PaletteEntry struct.
Declaration
public PaletteEntry(Color fill)
Parameters
System.Drawing.Color
fill
The fill. |
PaletteEntry(Color, Color)
Initializes a new instance of the PaletteEntry struct.
Declaration
public PaletteEntry(Color fill, Color stroke)
Parameters
System.Drawing.Color
fill
The fill. |
System.Drawing.Color
stroke
The stroke. |
PaletteEntry(Color, Color, Color)
Initializes a new instance of the PaletteEntry struct.
Declaration
public PaletteEntry(Color fill, Color stroke, Color additionalFill)
Parameters
System.Drawing.Color
fill
The fill. |
System.Drawing.Color
stroke
The stroke. |
System.Drawing.Color
additionalFill
The secondary fill. |
PaletteEntry(Color, Color, Color, Color)
Initializes a new instance of the PaletteEntry struct.
Declaration
public PaletteEntry(Color fill, Color stroke, Color additionalFill, Color additionalStroke)
Parameters
System.Drawing.Color
fill
The fill. |
System.Drawing.Color
stroke
The stroke. |
System.Drawing.Color
additionalFill
The secondary fill. |
System.Drawing.Color
additionalStroke
The secondary stroke. |
Properties
AdditionalFill
Gets or sets the System.Drawing.Brush instance that defines the up-fill of the corresponding visual objects.
Declaration
public Color AdditionalFill { get; set; }
Property Value
System.Drawing.Color
|
additionalFill_XmlSurrogate
Gets or sets the additional fill_ XML surrogate.
Declaration
public string additionalFill_XmlSurrogate { get; set; }
Property Value
System.String
The additional fill_ XML surrogate. |
AdditionalStroke
Gets or sets the System.Drawing.Brush instance that defines the stroke of the corresponding visual objects.
Declaration
public Color AdditionalStroke { get; set; }
Property Value
System.Drawing.Color
|
additionalStroke_XmlSurrogate
Gets or sets the additional stroke_ XML surrogate.
Declaration
public string additionalStroke_XmlSurrogate { get; set; }
Property Value
System.String
The additional stroke_ XML surrogate. |
Fill
Gets or sets the System.Drawing.Brush instance that defines the fill of the corresponding visual objects.
Declaration
public Color Fill { get; set; }
Property Value
System.Drawing.Color
|
fill_XmlSurrogate
Gets or sets the fill_ XML surrogate.
Declaration
public string fill_XmlSurrogate { get; set; }
Property Value
System.String
The fill_ XML surrogate. |
IsPredefined
Gets a value indicating whether the specified palette is predefined and may not be modified by the user.
Declaration
public bool IsPredefined { get; }
Property Value
System.Boolean
|
Stroke
Gets or sets the System.Drawing.Brush instance that defines the stroke of the corresponding visual objects.
Declaration
public Color Stroke { get; set; }
Property Value
System.Drawing.Color
|
stroke_XmlSurrogate
Gets or sets the stroke_ XML surrogate.
Declaration
public string stroke_XmlSurrogate { get; set; }
Property Value
System.String
The stroke_ XML surrogate. |
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
|
Overrides
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. |
Overrides
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
|