ClassChartMargins
Margins base class
Definition
Namespace:Telerik.Charting.Styles
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
[TypeConverter(typeof(MarginsConverter))]
public class ChartMargins : LayoutDecoratorBase, IChartingStateManagedItem, IChartingStateManager, ICloneable
Inheritance: objectStateManagedObjectLayoutDecoratorBaseChartMargins
Derived Classes:
Implements:
Inherited Members
Constructors
ChartMargins()
Creates new instance of ChartMargins class.
Declaration
public ChartMargins()
ChartMargins(Unit)
Creates new instance of ChartMargins class.
Declaration
public ChartMargins(Unit margin)
Parameters
margin
Value to set for all margins
ChartMargins(Unit, Unit, Unit, Unit)
Creates new instance of ChartMargins class.
ChartMargins(int, int, int, int)
Creates new instance of ChartMargins class.
ChartMargins(object)
Creates new instance of ChartMargins class.
Declaration
public ChartMargins(object containerObject)
Parameters
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
containerObject
Container object
top
Top margin in pixels or percents
right
Right margin in pixels or percents
bottom
Bottom margin in pixels or percents
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
value
The string to convert from.
Returns
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
value
The string to convert from.
culture
Culture info
Returns
New instance of ChartMargins from the specified string
Operators
implicit operator ChartMargins(string)
Implicitly creates a new instance of ChartMargins from the specified string.
Declaration
public static implicit operator ChartMargins(string value)
Parameters
value
The string to parse
Returns
New instance of ChartMargins from the specified string