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