New to Telerik ReportingStart a free 30-day trial

Base paddings class

Definition

Constructors

Creates new instance of ChartPaddings class.

C#
public ChartPaddings()

Creates new instance of ChartPaddings class.

C#
public ChartPaddings(int top, int right, int bottom, int left)
Parameters:topint

Top padding in pixels

rightint

Right padding in pixels

bottomint

Bottom padding in pixels

leftint

Left padding in pixels

Creates new instance of ChartPaddings class.

C#
public ChartPaddings(object containerObject, Unit top, Unit right, Unit bottom, Unit left)
Parameters:containerObjectobject

Container object

topUnit

Top padding in pixels or percents

rightUnit

Right padding in pixels or percents

bottomUnit

Bottom padding in pixels or percents

leftUnit

Left padding in pixels or percents

Creates new instance of ChartPaddings class.

C#
public ChartPaddings(object containerObject)
Parameters:containerObjectobject

Container element

Creates new instance of ChartPaddings class.

C#
public ChartPaddings(Unit top, Unit right, Unit bottom, Unit left)
Parameters:topUnit

Top padding in pixels or percents

rightUnit

Right padding in pixels or percents

bottomUnit

Bottom padding in pixels or percents

leftUnit

Left padding in pixels or percents

Creates new instance of ChartPaddings class.

C#
public ChartPaddings(Unit margin)
Parameters:marginUnit

Value to set for all paddings

Methods

Converts the specified string to an instance of ChartPaddings class.

C#
public static ChartPaddings Parse(string value, CultureInfo culture)
Parameters:valuestring

The string to convert from.

cultureCultureInfo

Culture info

Returns:

ChartPaddings

Instance of ChartPaddings class from the specified string

Converts the specified string to an instance of ChartPaddings class.

C#
public static ChartPaddings Parse(string value)
Parameters:valuestring

The string to convert from.

Returns:

ChartPaddings

Instance of ChartPaddings class from the specified string

Operators

Implicitly creates an instance of ChartPaddings class from the specified string.

C#
public static implicit operator ChartPaddings(string value)
Parameters:valuestring

The string to parse

Returns:

ChartPaddings

Instance of ChartPaddings class from the specified string