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

Border style

Definition

Namespace:Telerik.Charting.Styles

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class StyleBorder : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, ICloneable

Inheritance: objectStateManagedObjectStyleBorder

Derived Classes: LineStyleStyleChartBorderStyleDataTableBorderStyleLegendBorderStyleSeriesBorderStyleTitleBorder...

Implements: IChartingStateManagedItemIChartingStateManagerICloneable

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

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

Specifies the line color property

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

Specifies the pen style property

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

Visibility

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

Specifies the width property

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

Methods

Clone this object

C#
public virtual object Clone()
Returns:

object

Object with the same fields as this one

Implements: ICloneable.Clone()

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