ClassChartMargins
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
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.
Declaration
public ChartMargins(int top, int right, int bottom, int left)
Parameters
top
int
Top margin in pixels
right
int
Right margin in pixels
bottom
int
Bottom margin in pixels
left
int
Left margin in pixels
ChartMargins(object)
Creates new instance of ChartMargins class.
Declaration
public ChartMargins(object containerObject)
Parameters
containerObject
object
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
object
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
string
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
string
The string to convert from.
culture
CultureInfo
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
string
The string to parse
Returns
New instance of ChartMargins from the specified string