New to Telerik ReportingStart a free 30-day trial

Border style

Definition

Constructors

Creates new instance of StyleBorder class

C#
public StyleBorder()

Creates new instance of StyleBorder class

C#
public StyleBorder(bool visible)
Parameters:visiblebool

Border visibility

Creates new instance of StyleBorder class

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

Border color

widthfloat

Border width

penStyleDashStyle

Border PenStyle

Creates new instance of StyleBorder class

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

Border color

widthfloat

Border width

Creates new instance of StyleBorder class

C#
public StyleBorder(Color color)
Parameters:colorColor

Border color

Creates new instance of StyleBorder class

C#
public StyleBorder(object containerObject)
Parameters:containerObjectobject

Container object

Properties

Color

Color

Specifies the line color property

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

PenStyle

DashStyle

Specifies the pen style property

C#
[SkinnableProperty]
public virtual DashStyle PenStyle { get; set; }

Visibility

C#
public virtual bool Visible { get; set; }

Width

float

Specifies the width property

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

Methods

Clone()

object

Clone this object

C#
public virtual object Clone()
Returns:

object

Object with the same fields as this one

Compare two objects

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

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