FillStyle
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
Create new instance of FillStyle class.
public FillStyle()
Create new instance of FillStyle class.
public FillStyle(Color mainColor, Color secondColor, FillSettings fillSettings, bool gammaCorrection, FillType fillType)
Main color
secondColorColorSecond color
fillSettingsFillSettingsFill settings
gammaCorrectionboolSpecifies whether gamma correction should be used
fillTypeFillTypeOne of FillType values(Solid, Gradient, ComplexGradient, Image,Hatch)
Create new instance of FillStyle class.
Create new instance of FillStyle class.
Properties
Gets and sets fill settings
[Browsable(true)]
[SkinnableProperty]
public virtual FillSettings FillSettings { get; }
Specifies which of fill styles (Hatch, Solid, Image, Gradient) should be used
[SkinnableProperty]
public virtual FillType FillType { get; set; }
Specifies whether gamma correction should be used
[SkinnableProperty]
public bool GammaCorrection { get; set; }
Gets and sets the main color of figure background
[TypeConverter(typeof(ColorConverter))]
[SkinnableProperty]
public virtual Color MainColor { get; set; }
Gets and sets the main color opacity coefficient
[Browsable(false)]
public byte MainColorOpacity { get; }
Gets and sets the second color of figure background
[TypeConverter(typeof(ColorConverter))]
[SkinnableProperty]
public virtual Color SecondColor { get; set; }
Gets and sets the second color opacity coefficient
[Browsable(false)]
public byte SecondColorOpacity { get; }
Methods
Clone of this object
public virtual object Clone()
New instance of FillStyle class with the same fields as this object
Implements:
Gets hash code
Load data from ViewState
protected override void LoadViewState(object savedState)
ViewState with data
Overrides:
Save data to ViewState
Track ViewState
protected override void TrackViewState()
Overrides: