ClassCorners
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
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
int
RoundSize of corners
Corners(int)
Create new instance of Corners class.
Declaration
public Corners(int roundSize)
Parameters
roundSize
int
RoundSize for coners
Corners(object)
Create new instance of Corners class.
Declaration
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
[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
int
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
Declaration
public object Clone()
Returns
object
New instance of Corners type
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
Declaration
public override bool Equals(object obj)
Parameters
obj
object
Object to compare with
Returns
bool
Whether objects equal
Overrides
GetHashCode()
Gets HashCode
Declaration
public override int GetHashCode()
Returns
int
HashCode
Overrides
Parse(string)
Converts the specified string to Corners.
Declaration
public static Corners Parse(string value)
Parameters
value
string
The string to convert.
Returns
Corners that represents the specified string.
Parse(string, CultureInfo)
Converts the specified string to a Corners.
Declaration
public static Corners Parse(string value, CultureInfo culture)
Parameters
value
string
The string to convert.
culture
CultureInfo
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.
Declaration
public static implicit operator Corners(string value)
Parameters
value
string
The string to parse
Returns
Object of corners type