New to Telerik ReportingStart a free 30-day trial

Shadow settings

Definition

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

Blur

float

Specifies the shadow blur property

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

Color

Color

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()

object

Clone this object

C#
public virtual object Clone()
Returns:

object

New instance with the same fields as this one

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()