ChartMargins
Margins base class
Definition
Namespace:Telerik.Reporting.Charting.Styles
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(MarginsConverter))]
public class ChartMargins : LayoutDecoratorBase, IChartingStateManagedItem, IChartingStateManager
Inheritance: objectStateManagedObjectLayoutDecoratorBaseChartMargins
Derived Classes:
Implements:
Inherited Members
Constructors
Creates new instance of ChartMargins class.
public ChartMargins()
Creates new instance of ChartMargins class.
public ChartMargins(int top, int right, int bottom, int left)
Top margin in pixels
rightintRight margin in pixels
bottomintBottom margin in pixels
leftintLeft margin in pixels
Creates new instance of ChartMargins class.
public ChartMargins(object containerObject, Unit top, Unit right, Unit bottom, Unit left)
Container object
topUnitTop margin in pixels or percents
rightUnitRight margin in pixels or percents
bottomUnitBottom margin in pixels or percents
leftUnitLeft margin in pixels or percents
Creates new instance of ChartMargins class.
public ChartMargins(object containerObject)
Container object
Creates new instance of ChartMargins class.
Methods
Converts the specified string to an instance of ChartMargins.
public static ChartMargins Parse(string value, CultureInfo culture)
The string to convert from.
cultureCultureInfoCulture info
Returns:New instance of ChartMargins from the specified string
Converts the specified string to an instance of ChartMargins.
public static ChartMargins Parse(string value)
The string to convert from.
Returns:New instance of ChartMargins from the specified string
Operators
Implicitly creates a new instance of ChartMargins from the specified string.
public static implicit operator ChartMargins(string value)
The string to parse
Returns:New instance of ChartMargins from the specified string