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