FillSettings
Fill settings
Definition
Namespace:Telerik.Reporting.Charting.Styles
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class FillSettings : StateManagedObject, IChartingStateManagedItem, IChartingStateManager
Inheritance: objectStateManagedObjectFillSettings
Derived Classes:
Implements:
Inherited Members
Constructors
Create new instance of FillSettings class.
public FillSettings()
Constructor for FillSettings for the Linear gradient fill mode
public FillSettings(GradientFillStyle lgMode, float lgAngle, ColorBlend blend)
Linear gradient fill mode
lgAnglefloatLinear gradient fill angle
blendColorBlendSpecifies the blend colors for Gradient fill
Constructor for FillSettings for the Hatch fill mode
public FillSettings(HatchStyle style)
Hatch style
Constructor for FillSettings for the Image fill mode
public FillSettings(ImageDrawMode idMode, string imageURL, ImageAlignModes aligneMode, ImageTileModes flip)
Image mode
imageURLstringImage path
aligneModeImageAlignModesAlignment of image
flipImageTileModesFlip mode
Create new instance of FillSettings class.
public FillSettings(object containerObject)
Container object
Fields
Specifies the blend colors for Gradient fill
protected ColorBlend fillSettingsComplexGradient
Properties
BackgroundImage
string
Specifies the URL of Image file
[Browsable(true)]
[PersistenceMode(PersistenceMode.Attribute)]
[SkinnableProperty]
public string BackgroundImage { get; set; }
Specifies the blend colors for Gradient fill
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public ColorBlend ComplexGradient { get; }
GradientAngle
float
Specifies the Linear gradient fill angle
[Browsable(true)]
[PersistenceMode(PersistenceMode.Attribute)]
[SkinnableProperty]
public float GradientAngle { get; set; }
Specifies the Linear gradient fill mode
[Browsable(true)]
[PersistenceMode(PersistenceMode.Attribute)]
[SkinnableProperty]
public virtual GradientFillStyle GradientMode { get; set; }
HatchStyle
HatchStyle
Specifies the style of hatch fill type
[Browsable(true)]
[PersistenceMode(PersistenceMode.Attribute)]
[SkinnableProperty]
public HatchStyle HatchStyle { get; set; }
Specifies the Image align mode
[Browsable(true)]
[PersistenceMode(PersistenceMode.Attribute)]
[SkinnableProperty]
public ImageAlignModes ImageAlign { get; set; }
Specifies how image should be drawing
[Browsable(true)]
[PersistenceMode(PersistenceMode.Attribute)]
[SkinnableProperty]
public ImageDrawMode ImageDrawMode { get; set; }
Specifies the image flip settings
[Browsable(true)]
[PersistenceMode(PersistenceMode.Attribute)]
[SkinnableProperty]
public ImageTileModes ImageFlip { get; set; }
Methods
Clone()
object
Clone this object
public object Clone()
object
New instance of FillSettings class with the same fields as this object.
Equals(object)
bool
Comparing two objects.
public override bool Equals(object obj)
Object for comparing
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: