FillStyle
Fill style base class
Definition
Namespace:Telerik.Reporting.Charting.Styles
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class FillStyle : StateManagedObject, IChartingStateManagedItem, IChartingStateManager
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.
public FillStyle(Color mainColor, Color secondColor, FillType fillType)
Main color
secondColorColorSecond color
fillTypeFillTypeOne of FillType values(Solid, Gradient, ComplexGradient, Image,Hatch)
Create new instance of FillStyle class.
public FillStyle(Color mainColor, Color secondColor)
Main color
secondColorColorSecond color
Create new instance of FillStyle class.
public FillStyle(Color mainColor, FillType fillType)
Main color
fillTypeFillTypeOne of FillType values(Solid, Gradient, ComplexGradient, Image,Hatch)
Create new instance of FillStyle class.
public FillStyle(Color mainColor)
Main color
Create new instance of FillStyle class.
public FillStyle(object container)
Container element
Properties
Gets and sets fill settings
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public virtual FillSettings FillSettings { get; }
Specifies which of fill styles (Hatch, Solid, Image, Gradient) should be used
[PersistenceMode(PersistenceMode.Attribute)]
[SkinnableProperty]
public virtual FillType FillType { get; set; }
GammaCorrection
bool
Specifies whether gamma correction should be used
[PersistenceMode(PersistenceMode.Attribute)]
[SkinnableProperty]
public bool GammaCorrection { get; set; }
MainColor
Color
Gets and sets the main color of figure background
[TypeConverter(typeof(ColorConverter))]
[PersistenceMode(PersistenceMode.Attribute)]
[SkinnableProperty]
public virtual Color MainColor { get; set; }
MainColorOpacity
byte
Gets and sets the main color opacity coefficient
[Browsable(false)]
public byte MainColorOpacity { get; }
SecondColor
Color
Gets and sets the second color of figure background
[TypeConverter(typeof(ColorConverter))]
[PersistenceMode(PersistenceMode.Attribute)]
[SkinnableProperty]
public virtual Color SecondColor { get; set; }
Gets and sets the second color opacity coefficient
[Browsable(false)]
public byte SecondColorOpacity { get; }
Methods
Clone()
object
Clone of this object
public virtual object Clone()
object
New instance of FillStyle class with the same fields as this object
Releases unmanaged and - optionally - managed resources
protected override void Dispose(bool disposing)
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Overrides:
Equals(object)
bool
Comparing of two objects
public override bool Equals(object obj)
Object to compare
Returns:bool
Whether objects are equal or not
Overrides:
Gets hash code
public override int GetHashCode()
int
Hash code
Overrides:
Load data from ViewState
protected override void LoadViewState(object savedState)
ViewState with data
Overrides:
SaveViewState()
object
Save data to ViewState
protected override object SaveViewState()
object
Saved data
Overrides:
Track ViewState
protected override void TrackViewState()
Overrides: