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