New to Telerik ReportingStart a free 30-day trial

Common lines style

Definition

Constructors

Creates new instance of LineStyle class

C#
public LineStyle()

Creates new instance of LineStyle class

C#
public LineStyle(bool visible)
Parameters:visiblebool

Line visibility

Creates new instance of LineStyle class

C#
public LineStyle(Color color, float width, DashStyle penStyle, LineCap endCap)
Parameters:colorColor

Line color

widthfloat

Line width

penStyleDashStyle

Line PenStyle

endCapLineCap

Line end cap

Creates new instance of LineStyle class

C#
public LineStyle(Color color, float width, DashStyle penStyle)
Parameters:colorColor

Line color

widthfloat

Line width

penStyleDashStyle

Line PenStyle

Creates new instance of LineStyle class

C#
public LineStyle(Color color, float width)
Parameters:colorColor

Line color

widthfloat

Line width

Creates new instance of LineStyle class

C#
public LineStyle(Color color)
Parameters:colorColor

Line color

Creates new instance of LineStyle class

C#
public LineStyle(object containerObject)
Parameters:containerObjectobject

Container object

Properties

EndCap

LineCap

Specifies the end cap property

C#
[SkinnableProperty]
public virtual LineCap EndCap { get; set; }

StartCap

LineCap

Specifies the start cap property

C#
[SkinnableProperty]
public virtual LineCap StartCap { get; set; }

Methods

Clone()

object

Clone this object

C#
public override object Clone()
Returns:

object

Object with the same fields as this one

Overrides: StyleBorder.Clone()

Compare two objects

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

Object tot compare

Returns:

bool

Result of comparing

Overrides: StyleBorder.Equals(object)

Gets hash code

C#
public override int GetHashCode()
Returns:

int

Hash code

Overrides: StyleBorder.GetHashCode()