ClassCorners
Sets the edge type of rectangular shapes.
Definition
Namespace:Telerik.Charting.Styles
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
[TypeConverter(typeof(CornersConverter))]
public class Corners : StateManagedObject, IChartingStateManagedItem, IChartingStateManager
Inheritance: objectStateManagedObjectCorners
Implements:
Inherited Members
Constructors
Corners(CornerType, CornerType, CornerType, CornerType, int)
Create new instance of Corners class.
Declaration
public Corners(CornerType topLeft, CornerType topRight, CornerType bottomLeft, CornerType bottomRight, int roundSize)
Parameters
topLeft
Type of top left corner
topRight
Type of top right corner
bottomLeft
Type of bottom left corner
bottomRight
Type of bottom right corner
roundSize
RoundSize of corners
Corners(int)
Create new instance of Corners class.
Declaration
public Corners(int roundSize)
Parameters
roundSize
RoundSize for coners
Corners(object)
Create new instance of Corners class.
Declaration
public Corners(object containerObject)
Parameters
containerObject
Container object
Properties
BottomLeft
Gets and sets the type of the bottom left corner of the rectangular shape.
Declaration
[SkinnableProperty]
[Browsable(true)]
[Bindable(true)]
public CornerType BottomLeft { get; set; }
Property Value
Type of bottom left corner
BottomRight
Gets and sets the type of the bottom right corner of the rectangular shape.
Declaration
[SkinnableProperty]
[Browsable(true)]
[Bindable(true)]
public CornerType BottomRight { get; set; }
Property Value
Type of bottom right corner
RoundSize
Gets and sets the round size of the corner.
Declaration
[SkinnableProperty]
[Browsable(true)]
[Bindable(true)]
public int RoundSize { get; set; }
Property Value
Round size of corners
TopLeft
Gets and sets the type of the top left corner of the rectangular shape.
Declaration
[SkinnableProperty]
[Browsable(true)]
[Bindable(true)]
public CornerType TopLeft { get; set; }
Property Value
Type of top left corner
TopRight
Gets and sets the type of the top right corner of the rectangular shape.
Declaration
[SkinnableProperty]
[Browsable(true)]
[Bindable(true)]
public CornerType TopRight { get; set; }
Property Value
Type of top right corner
Methods
Clone()
Clone this object
CopyFrom(Corners)
Copy fields from specified object
Declaration
protected void CopyFrom(Corners sourceCorners)
Parameters
sourceCorners
Object to copy from
Equals(object)
Compare two objects of Corners type
GetHashCode()
Gets HashCode
Parse(string)
Converts the specified string to Corners.
Parse(string, CultureInfo)
Converts the specified string to a Corners.
Declaration
public static Corners Parse(string value, CultureInfo culture)
Parameters
value
The string to convert.
culture
CultureInfo used
Returns
Object of corners type
SetCornersType(CornerType)
Set specified type for all corners
Declaration
public void SetCornersType(CornerType cornerType)
Parameters
cornerType
Type of corners
Operators
implicit operator Corners(string)
Implicitly creates a Corners from the specified string.