FillSettings
Fill settings
Definition
Namespace:Telerik.Charting.Styles
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class FillSettings : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, ICloneable
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
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.
Fields
Specifies the blend colors for Gradient fill
protected ColorBlend fillSettingsComplexGradient
Properties
Specifies the URL of Image file
[Browsable(true)]
[SkinnableProperty]
public string BackgroundImage { get; set; }
Specifies the blend colors for Gradient fill
[Browsable(true)]
[SkinnableProperty]
public ColorBlend ComplexGradient { get; }
Specifies the Linear gradient fill angle
[Browsable(true)]
[SkinnableProperty]
public float GradientAngle { get; set; }
Specifies the Linear gradient fill mode
[Browsable(true)]
[SkinnableProperty]
public virtual GradientFillStyle GradientMode { get; set; }
Specifies the style of hatch fill type
[Browsable(true)]
[SkinnableProperty]
public HatchStyle HatchStyle { get; set; }
Specifies the Image align mode
[Browsable(true)]
[SkinnableProperty]
public ImageAlignModes ImageAlign { get; set; }
Specifies how image should be drawing
[Browsable(true)]
[SkinnableProperty]
public ImageDrawMode ImageDrawMode { get; set; }
Specifies the image flip settings
[Browsable(true)]
[SkinnableProperty]
public ImageTileModes ImageFlip { get; set; }
Methods
Clone this object
public object Clone()
New instance of FillSettings 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: