Class
ChartPaddings

Base paddings class

Definition

Namespace:Telerik.Charting.Styles

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(PaddingsConverter))]
public class ChartPaddings : LayoutDecoratorBase, IChartingStateManagedItem, IChartingStateManager, ICloneable

Inheritance: objectStateManagedObjectLayoutDecoratorBaseChartPaddings

Derived Classes: ChartPaddingsLegendChartPaddingsTitle

Implements: IChartingStateManagedItemIChartingStateManagerICloneable

Inherited Members LayoutDecoratorBase.Equals(object)LayoutDecoratorBase.GetHashCode()LayoutDecoratorBase.Clone()LayoutDecoratorBase.CopyFrom(LayoutDecoratorBase)LayoutDecoratorBase.LeftLayoutDecoratorBase.RightLayoutDecoratorBase.TopLayoutDecoratorBase.BottomStateManagedObject.CloneState()StateManagedObject.SaveViewState()StateManagedObject.TrackViewState()StateManagedObject.LoadViewState(object)StateManagedObject.SetDirty()StateManagedObject.ViewStateIgnoresCase

Constructors

ChartPaddings()

Creates new instance of ChartPaddings class.

Declaration

cs-api-definition
public ChartPaddings()

ChartPaddings(Unit)

Creates new instance of ChartPaddings class.

Declaration

cs-api-definition
public ChartPaddings(Unit margin)

Parameters

margin

Unit

Value to set for all paddings

ChartPaddings(Unit, Unit, Unit, Unit)

Creates new instance of ChartPaddings class.

Declaration

cs-api-definition
public ChartPaddings(Unit top, Unit right, Unit bottom, Unit left)

Parameters

top

Unit

Top padding in pixels or percents

right

Unit

Right padding in pixels or percents

bottom

Unit

Bottom padding in pixels or percents

left

Unit

Left padding in pixels or percents

ChartPaddings(int, int, int, int)

Creates new instance of ChartPaddings class.

Declaration

cs-api-definition
public ChartPaddings(int top, int right, int bottom, int left)

Parameters

top

int

Top padding in pixels

right

int

Right padding in pixels

bottom

int

Bottom padding in pixels

left

int

Left padding in pixels

ChartPaddings(object)

Creates new instance of ChartPaddings class.

Declaration

cs-api-definition
public ChartPaddings(object containerObject)

Parameters

containerObject

object

Container element

ChartPaddings(object, Unit, Unit, Unit, Unit)

Creates new instance of ChartPaddings class.

Declaration

cs-api-definition
public ChartPaddings(object containerObject, Unit top, Unit right, Unit bottom, Unit left)

Parameters

containerObject

object

Container object

top

Unit

Top padding in pixels or percents

right

Unit

Right padding in pixels or percents

bottom

Unit

Bottom padding in pixels or percents

left

Unit

Left padding in pixels or percents

Methods

Parse(string)

Converts the specified string to an instance of ChartPaddings class.

Declaration

cs-api-definition
public static ChartPaddings Parse(string value)

Parameters

value

string

The string to convert from.

Returns

ChartPaddings

Instance of ChartPaddings class from the specified string

Parse(string, CultureInfo)

Converts the specified string to an instance of ChartPaddings class.

Declaration

cs-api-definition
public static ChartPaddings Parse(string value, CultureInfo culture)

Parameters

value

string

The string to convert from.

culture

CultureInfo

Culture info

Returns

ChartPaddings

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

cs-api-definition
public static implicit operator ChartPaddings(string value)

Parameters

value

string

The string to parse

Returns

ChartPaddings

Instance of ChartPaddings class from the specified string