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