Class
Corners

Sets the edge type of rectangular shapes.

Definition

Namespace:Telerik.Charting.Styles

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(CornersConverter))]
public class Corners : StateManagedObject, IChartingStateManagedItem, IChartingStateManager

Inheritance: objectStateManagedObjectCorners

Implements: IChartingStateManagedItemIChartingStateManager

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

Constructors

Corners()

Create new instance of Corners class.

Declaration

cs-api-definition
public Corners()

Corners(CornerType, CornerType, CornerType, CornerType, int)

Create new instance of Corners class.

Declaration

cs-api-definition
public Corners(CornerType topLeft, CornerType topRight, CornerType bottomLeft, CornerType bottomRight, int roundSize)

Parameters

topLeft

CornerType

Type of top left corner

topRight

CornerType

Type of top right corner

bottomLeft

CornerType

Type of bottom left corner

bottomRight

CornerType

Type of bottom right corner

roundSize

int

RoundSize of corners

Corners(int)

Create new instance of Corners class.

Declaration

cs-api-definition
public Corners(int roundSize)

Parameters

roundSize

int

RoundSize for coners

Corners(object)

Create new instance of Corners class.

Declaration

cs-api-definition
public Corners(object containerObject)

Parameters

containerObject

object

Container object

Properties

BottomLeft

Gets and sets the type of the bottom left corner of the rectangular shape.

Declaration

cs-api-definition
[SkinnableProperty]
[Browsable(true)]
[Bindable(true)]
public CornerType BottomLeft { get; set; }

Property Value

CornerType

Type of bottom left corner

BottomRight

Gets and sets the type of the bottom right corner of the rectangular shape.

Declaration

cs-api-definition
[SkinnableProperty]
[Browsable(true)]
[Bindable(true)]
public CornerType BottomRight { get; set; }

Property Value

CornerType

Type of bottom right corner

RoundSize

Gets and sets the round size of the corner.

Declaration

cs-api-definition
[SkinnableProperty]
[Browsable(true)]
[Bindable(true)]
public int RoundSize { get; set; }

Property Value

int

Round size of corners

TopLeft

Gets and sets the type of the top left corner of the rectangular shape.

Declaration

cs-api-definition
[SkinnableProperty]
[Browsable(true)]
[Bindable(true)]
public CornerType TopLeft { get; set; }

Property Value

CornerType

Type of top left corner

TopRight

Gets and sets the type of the top right corner of the rectangular shape.

Declaration

cs-api-definition
[SkinnableProperty]
[Browsable(true)]
[Bindable(true)]
public CornerType TopRight { get; set; }

Property Value

CornerType

Type of top right corner

Methods

Clone()

Clone this object

Declaration

cs-api-definition
public object Clone()

Returns

object

New instance of Corners type

CopyFrom(Corners)

Copy fields from specified object

Declaration

cs-api-definition
protected void CopyFrom(Corners sourceCorners)

Parameters

sourceCorners

Corners

Object to copy from

Equals(object)

Compare two objects of Corners type

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Object to compare with

Returns

bool

Whether objects equal

Overrides object.Equals(object)

GetHashCode()

Gets HashCode

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

HashCode

Overrides object.GetHashCode()

Parse(string)

Converts the specified string to Corners.

Declaration

cs-api-definition
public static Corners Parse(string value)

Parameters

value

string

The string to convert.

Returns

Corners

Corners that represents the specified string.

Parse(string, CultureInfo)

Converts the specified string to a Corners.

Declaration

cs-api-definition
public static Corners Parse(string value, CultureInfo culture)

Parameters

value

string

The string to convert.

culture

CultureInfo

CultureInfo used

Returns

Corners

Object of corners type

SetCornersType(CornerType)

Set specified type for all corners

Declaration

cs-api-definition
public void SetCornersType(CornerType cornerType)

Parameters

cornerType

CornerType

Type of corners

Operators

implicit operator Corners(string)

Implicitly creates a Corners from the specified string.

Declaration

cs-api-definition
public static implicit operator Corners(string value)

Parameters

value

string

The string to parse

Returns

Corners

Object of corners type