ClassFillStyle
Fill style base class
Definition
Namespace:Telerik.Charting.Styles
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class FillStyle : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, ICloneable
Inheritance: objectStateManagedObjectFillStyle
Derived Classes:
Implements:
Inherited Members
Constructors
FillStyle(Color)
Create new instance of FillStyle class.
Declaration
public FillStyle(Color mainColor)
Parameters
mainColor
Main color
FillStyle(Color, Color)
Create new instance of FillStyle class.
FillStyle(Color, Color, FillSettings, bool, FillType)
Create new instance of FillStyle class.
Declaration
public FillStyle(Color mainColor, Color secondColor, FillSettings fillSettings, bool gammaCorrection, FillType fillType)
Parameters
mainColor
Main color
secondColor
Second color
fillSettings
Fill settings
gammaCorrection
Specifies whether gamma correction should be used
fillType
One of FillType values(Solid, Gradient, ComplexGradient, Image,Hatch)
FillStyle(Color, Color, FillType)
Create new instance of FillStyle class.
FillStyle(Color, FillType)
Create new instance of FillStyle class.
FillStyle(object)
Create new instance of FillStyle class.
Declaration
public FillStyle(object container)
Parameters
container
Container element
Properties
FillSettings
Gets and sets fill settings
Declaration
[Browsable(true)]
[SkinnableProperty]
public virtual FillSettings FillSettings { get; }
Property Value
FillType
Specifies which of fill styles (Hatch, Solid, Image, Gradient) should be used
Declaration
[SkinnableProperty]
public virtual FillType FillType { get; set; }
Property Value
GammaCorrection
Specifies whether gamma correction should be used
Declaration
[SkinnableProperty]
public bool GammaCorrection { get; set; }
Property Value
MainColor
Gets and sets the main color of figure background
Declaration
[TypeConverter(typeof(ColorConverter))]
[SkinnableProperty]
public virtual Color MainColor { get; set; }
Property Value
MainColorOpacity
Gets and sets the main color opacity coefficient
Declaration
[Browsable(false)]
public byte MainColorOpacity { get; }
Property Value
SecondColor
Gets and sets the second color of figure background
Declaration
[TypeConverter(typeof(ColorConverter))]
[SkinnableProperty]
public virtual Color SecondColor { get; set; }
Property Value
SecondColorOpacity
Gets and sets the second color opacity coefficient
Declaration
[Browsable(false)]
public byte SecondColorOpacity { get; }
Property Value
Methods
Clone()
Clone of this object
Declaration
public virtual object Clone()
Returns
New instance of FillStyle class with the same fields as this object
Implements
Equals(object)
Comparing of two objects
GetHashCode()
Gets hash code
LoadViewState(object)
Load data from ViewState
Declaration
protected override void LoadViewState(object savedState)
Parameters
savedState
ViewState with data
Overrides
SaveViewState()
Save data to ViewState
Declaration
protected override object SaveViewState()
Returns
Saved data
Overrides
TrackViewState()
Track ViewState
Declaration
protected override void TrackViewState()
Overrides