New to Telerik UI for WinFormsStart a free 30-day trial

Shadow settings

Definition

Namespace:Telerik.Charting.Styles

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

C#
public class ShadowStyle : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, ICloneable

Inheritance: objectStateManagedObjectShadowStyle

Derived Classes: ShadowStyleChart

Implements: IChartingStateManagedItemIChartingStateManagerICloneable

Inherited Members StateManagedObject.CloneState()StateManagedObject.SaveViewState()StateManagedObject.TrackViewState()StateManagedObject.LoadViewState(object)StateManagedObject.SetDirty()StateManagedObject.ViewStateIgnoresCase...

Constructors

Create new instance of ShadowStyle class.

C#
public ShadowStyle()

Create new instance of ShadowStyle class.

C#
public ShadowStyle(Color shadowColor, float shadowBlur, float shadowDistance, ShadowPosition shadowPosition)
Parameters:shadowColorColor

Shadow color

shadowBlurfloat

Shadow blur

shadowDistancefloat

Shadow distance

shadowPositionShadowPosition

Shadow position

Properties

Specifies the shadow blur property

C#
[SkinnableProperty]
public virtual float Blur { get; set; }

Specifies the shadow color property

C#
[TypeConverter(typeof(ColorConverter))]
[SkinnableProperty]
public virtual Color Color { get; set; }

The main color opacity coefficient

C#
[Browsable(false)]
public byte ColorOpacity { get; }

Specifies the shadow distance property

C#
[SkinnableProperty]
public virtual float Distance { get; set; }

Specifies the shadow position property

C#
[SkinnableProperty]
public virtual ShadowPosition Position { get; set; }

Methods

Clone this object

C#
public virtual object Clone()
Returns:

object

New instance with the same fields as this one

Implements: ICloneable.Clone()

Comparing of two objects

C#
public override bool Equals(object obj)
Parameters:objobject

Object to compare

Returns:

bool

Result of comparing

Overrides: object.Equals(object)

Gets hash code

C#
public override int GetHashCode()
Returns:

int

Hash code

Overrides: object.GetHashCode()