Class FillStyle
Fill style base class
Inherited Members
Namespace: Telerik.Reporting.Charting.Styles
Assembly: Telerik.Reporting.dll
Syntax
public class FillStyle : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, IDisposable, ICloneable
Constructors
FillStyle()
Create new instance of FillStyle class.
Declaration
public FillStyle()
FillStyle(Color)
Create new instance of FillStyle class.
Declaration
public FillStyle(Color mainColor)
Parameters
System.Drawing.Color
mainColor
Main color |
FillStyle(Color, Color)
Create new instance of FillStyle class.
Declaration
public FillStyle(Color mainColor, Color secondColor)
Parameters
System.Drawing.Color
mainColor
Main color |
System.Drawing.Color
secondColor
Second color |
FillStyle(Color, Color, FillSettings, Boolean, FillType)
Create new instance of FillStyle class.
Declaration
public FillStyle(Color mainColor, Color secondColor, FillSettings fillSettings, bool gammaCorrection, FillType fillType)
Parameters
System.Drawing.Color
mainColor
Main color |
System.Drawing.Color
secondColor
Second color |
FillSettings
fillSettings
Fill settings |
System.Boolean
gammaCorrection
Specifies whether gamma correction should be used |
FillType
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
System.Drawing.Color
mainColor
Main color |
System.Drawing.Color
secondColor
Second color |
FillType
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
System.Drawing.Color
mainColor
Main color |
FillType
fillType
One of FillType values(Solid, Gradient, ComplexGradient, Image,Hatch) |
FillStyle(Object)
Create new instance of FillStyle class.
Declaration
public FillStyle(object container)
Parameters
System.Object
container
Container element |
Properties
FillSettings
Gets and sets fill settings
Declaration
[SkinnableProperty]
public virtual FillSettings FillSettings { get; }
Property Value
FillSettings
|
FillType
Specifies which of fill styles (Hatch, Solid, Image, Gradient) should be used
Declaration
[SkinnableProperty]
public virtual FillType FillType { get; set; }
Property Value
FillType
|
GammaCorrection
Specifies whether gamma correction should be used
Declaration
[SkinnableProperty]
public bool GammaCorrection { get; set; }
Property Value
System.Boolean
|
MainColor
Gets and sets the main color of figure background
Declaration
[SkinnableProperty]
public virtual Color MainColor { get; set; }
Property Value
System.Drawing.Color
|
MainColorOpacity
Gets and sets the main color opacity coefficient
Declaration
public byte MainColorOpacity { get; }
Property Value
System.Byte
|
SecondColor
Gets and sets the second color of figure background
Declaration
[SkinnableProperty]
public virtual Color SecondColor { get; set; }
Property Value
System.Drawing.Color
|
SecondColorOpacity
Gets and sets the second color opacity coefficient
Declaration
public byte SecondColorOpacity { get; }
Property Value
System.Byte
|
Methods
Clone()
Clone of this object
Declaration
public virtual object Clone()
Returns
System.Object
New instance of FillStyle class with the same fields as this object |
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
Overrides
Equals(Object)
Comparing of two objects
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object to compare |
Returns
System.Boolean
Whether objects are equal or not |
Overrides
GetHashCode()
Gets hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Hash code |
Overrides
LoadViewState(Object)
Load data from ViewState
Declaration
protected override void LoadViewState(object savedState)
Parameters
System.Object
savedState
ViewState with data |
Overrides
SaveViewState()
Save data to ViewState
Declaration
protected override object SaveViewState()
Returns
System.Object
Saved data |
Overrides
TrackViewState()
Track ViewState
Declaration
protected override void TrackViewState()