Class
FillSettings

Fill settings

Definition

Namespace:Telerik.Charting.Styles

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public class FillSettings : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, ICloneable

Inheritance: objectStateManagedObjectFillSettings

Derived Classes: FillSettingsVerticalGradient

Implements: IChartingStateManagedItemIChartingStateManagerICloneable

Inherited Members StateManagedObject.CloneState()StateManagedObject.SetDirty()StateManagedObject.ViewStateIgnoresCase

Constructors

FillSettings()

Create new instance of FillSettings class.

Declaration

cs-api-definition
public FillSettings()

FillSettings(GradientFillStyle, float, ColorBlend)

Constructor for FillSettings for the Linear gradient fill mode

Declaration

cs-api-definition
public FillSettings(GradientFillStyle lgMode, float lgAngle, ColorBlend blend)

Parameters

lgMode

GradientFillStyle

Linear gradient fill mode

lgAngle

float

Linear gradient fill angle

blend

ColorBlend

Specifies the blend colors for Gradient fill

FillSettings(HatchStyle)

Constructor for FillSettings for the Hatch fill mode

Declaration

cs-api-definition
public FillSettings(HatchStyle style)

Parameters

style

HatchStyle

Hatch style

FillSettings(ImageDrawMode, string, ImageAlignModes, ImageTileModes)

Constructor for FillSettings for the Image fill mode

Declaration

cs-api-definition
public FillSettings(ImageDrawMode idMode, string imageURL, ImageAlignModes aligneMode, ImageTileModes flip)

Parameters

idMode

ImageDrawMode

Image mode

imageURL

string

Image path

aligneMode

ImageAlignModes

Alignment of image

flip

ImageTileModes

Flip mode

FillSettings(object)

Create new instance of FillSettings class.

Declaration

cs-api-definition
public FillSettings(object containerObject)

Parameters

containerObject

object

Container object

Fields

fillSettingsComplexGradient

Specifies the blend colors for Gradient fill

Declaration

cs-api-definition
protected ColorBlend fillSettingsComplexGradient

Field Value

ColorBlend

Properties

BackgroundImage

Specifies the URL of Image file

Declaration

cs-api-definition
[Browsable(true)]
[SkinnableProperty]
public string BackgroundImage { get; set; }

Property Value

string

ComplexGradient

Specifies the blend colors for Gradient fill

Declaration

cs-api-definition
[Browsable(true)]
[SkinnableProperty]
public ColorBlend ComplexGradient { get; }

Property Value

ColorBlend

GradientAngle

Specifies the Linear gradient fill angle

Declaration

cs-api-definition
[Browsable(true)]
[SkinnableProperty]
public float GradientAngle { get; set; }

Property Value

float

GradientMode

Specifies the Linear gradient fill mode

Declaration

cs-api-definition
[Browsable(true)]
[SkinnableProperty]
public virtual GradientFillStyle GradientMode { get; set; }

Property Value

GradientFillStyle

HatchStyle

Specifies the style of hatch fill type

Declaration

cs-api-definition
[Browsable(true)]
[SkinnableProperty]
public HatchStyle HatchStyle { get; set; }

Property Value

HatchStyle

ImageAlign

Specifies the Image align mode

Declaration

cs-api-definition
[Browsable(true)]
[SkinnableProperty]
public ImageAlignModes ImageAlign { get; set; }

Property Value

ImageAlignModes

ImageDrawMode

Specifies how image should be drawing

Declaration

cs-api-definition
[Browsable(true)]
[SkinnableProperty]
public ImageDrawMode ImageDrawMode { get; set; }

Property Value

ImageDrawMode

ImageFlip

Specifies the image flip settings

Declaration

cs-api-definition
[Browsable(true)]
[SkinnableProperty]
public ImageTileModes ImageFlip { get; set; }

Property Value

ImageTileModes

Methods

Clone()

Clone this object

Declaration

cs-api-definition
public object Clone()

Returns

object

New instance of FillSettings class with the same fields as this object.

Implements ICloneable.Clone()

Equals(object)

Comparing two objects.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Object for comparing

Returns

bool

Whether objects are equal or not

Overrides object.Equals(object)

GetHashCode()

Gets hash code

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Hash code

Overrides object.GetHashCode()

LoadViewState(object)

Load data from ViewState

Declaration

cs-api-definition
protected override void LoadViewState(object savedState)

Parameters

savedState

object

ViewState with data

Overrides StateManagedObject.LoadViewState(object)

SaveViewState()

Save data to ViewState

Declaration

cs-api-definition
protected override object SaveViewState()

Returns

object

Saved data

Overrides StateManagedObject.SaveViewState()

TrackViewState()

Track ViewState

Declaration

cs-api-definition
protected override void TrackViewState()

Overrides StateManagedObject.TrackViewState()