Class ChartPaddings
Base paddings class
Inherited Members
Namespace: Telerik.Charting.Styles
Assembly: Telerik.WinControls.RadChart.dll
Syntax
public class ChartPaddings : LayoutDecoratorBase, IChartingStateManagedItem, IChartingStateManager, ICloneable
Constructors
ChartPaddings()
Creates new instance of ChartPaddings class.
Declaration
public ChartPaddings()
ChartPaddings(Int32, Int32, Int32, Int32)
Creates new instance of ChartPaddings class.
Declaration
public ChartPaddings(int top, int right, int bottom, int left)
Parameters
System.Int32
top
Top padding in pixels |
System.Int32
right
Right padding in pixels |
System.Int32
bottom
Bottom padding in pixels |
System.Int32
left
Left padding in pixels |
ChartPaddings(Object)
Creates new instance of ChartPaddings class.
Declaration
public ChartPaddings(object containerObject)
Parameters
System.Object
containerObject
Container element |
ChartPaddings(Object, Unit, Unit, Unit, Unit)
Creates new instance of ChartPaddings class.
Declaration
public ChartPaddings(object containerObject, Unit top, Unit right, Unit bottom, Unit left)
Parameters
System.Object
containerObject
Container object |
Unit
top
Top padding in pixels or percents |
Unit
right
Right padding in pixels or percents |
Unit
bottom
Bottom padding in pixels or percents |
Unit
left
Left padding in pixels or percents |
ChartPaddings(Unit)
Creates new instance of ChartPaddings class.
Declaration
public ChartPaddings(Unit margin)
Parameters
Unit
margin
Value to set for all paddings |
ChartPaddings(Unit, Unit, Unit, Unit)
Creates new instance of ChartPaddings class.
Declaration
public ChartPaddings(Unit top, Unit right, Unit bottom, Unit left)
Parameters
Unit
top
Top padding in pixels or percents |
Unit
right
Right padding in pixels or percents |
Unit
bottom
Bottom padding in pixels or percents |
Unit
left
Left padding in pixels or percents |
Methods
Parse(String)
Converts the specified string to an instance of ChartPaddings class.
Declaration
public static ChartPaddings Parse(string value)
Parameters
System.String
value
The string to convert from. |
Returns
ChartPaddings
Instance of ChartPaddings class from the specified string |
Parse(String, CultureInfo)
Converts the specified string to an instance of ChartPaddings class.
Declaration
public static ChartPaddings Parse(string value, CultureInfo culture)
Parameters
System.String
value
The string to convert from. |
System.Globalization.CultureInfo
culture
Culture info |
Returns
ChartPaddings
Instance of ChartPaddings class from the specified string |
Operators
Implicit(String to ChartPaddings)
Implicitly creates an instance of ChartPaddings class from the specified string.
Declaration
public static implicit operator ChartPaddings(string value)
Parameters
System.String
value
The string to parse |
Returns
ChartPaddings
Instance of ChartPaddings class from the specified string |