Class
LayoutDecoratorBase

Base class for a chart Margins and Paddings

Definition

Namespace:Telerik.Charting.Styles

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

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

Inheritance: objectStateManagedObjectLayoutDecoratorBase

Derived Classes: ChartMarginsChartPaddings

Implements: IChartingStateManagedItemIChartingStateManagerICloneable

Inherited Members StateManagedObject.CloneState()StateManagedObject.SaveViewState()StateManagedObject.TrackViewState()StateManagedObject.LoadViewState(object)StateManagedObject.SetDirty()StateManagedObject.ViewStateIgnoresCase

Constructors

LayoutDecoratorBase()

Creates new instance of LayoutDecoratorBase class.

Declaration

cs-api-definition
public LayoutDecoratorBase()

LayoutDecoratorBase(Unit)

Creates new instance of LayoutDecoratorBase class.

Declaration

cs-api-definition
public LayoutDecoratorBase(Unit value)

Parameters

value

Unit

LayoutDecoratorBase(Unit, Unit, Unit, Unit)

Creates new instance of LayoutDecoratorBase class.

Declaration

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

Parameters

top

Unit

Top side

right

Unit

Right side

bottom

Unit

Bottom side

left

Unit

Left side

LayoutDecoratorBase(int, int, int, int)

Creates new instance of LayoutDecoratorBase class.

Declaration

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

Parameters

top

int

Top side

right

int

Right side

bottom

int

Bottom side

left

int

Left side

LayoutDecoratorBase(object)

Creates new instance of LayoutDecoratorBase class.

Declaration

cs-api-definition
public LayoutDecoratorBase(object containerObject)

Parameters

containerObject

object

Container element

LayoutDecoratorBase(object, Unit, Unit, Unit, Unit)

Creates new instance of LayoutDecoratorBase class.

Declaration

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

Parameters

containerObject

object

Container element

top

Unit

Top side

right

Unit

Right side

bottom

Unit

Bottom side

left

Unit

Left side

Properties

Bottom

Sets the bottom side in pixels or percents of the chart's height.

Declaration

cs-api-definition
[Browsable(true)]
[TypeConverter(typeof(UnitConverter))]
[SkinnableProperty]
public virtual Unit Bottom { get; set; }

Property Value

Unit

Left

Sets the left side in pixels or percents of the chart's width.

Declaration

cs-api-definition
[Browsable(true)]
[TypeConverter(typeof(UnitConverter))]
[SkinnableProperty]
public virtual Unit Left { get; set; }

Property Value

Unit

Right

Sets the right side in pixels or percents of the chart's width.

Declaration

cs-api-definition
[Browsable(true)]
[TypeConverter(typeof(UnitConverter))]
[SkinnableProperty]
public virtual Unit Right { get; set; }

Property Value

Unit

Top

Sets the top side in pixels or percents of the chart's height.

Declaration

cs-api-definition
[Browsable(true)]
[TypeConverter(typeof(UnitConverter))]
[SkinnableProperty]
public virtual Unit Top { get; set; }

Property Value

Unit

Methods

Clone()

Clone this object

Declaration

cs-api-definition
public object Clone()

Returns

object

New instance of LayoutDecoratorBase class with the same fields as this one

Implements ICloneable.Clone()

CopyFrom(LayoutDecoratorBase)

Copy fields from object

Declaration

cs-api-definition
public void CopyFrom(LayoutDecoratorBase layoutDecorator)

Parameters

layoutDecorator

LayoutDecoratorBase

Object to copy from

Equals(object)

Checks whether objects are equal

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Object to compare

Returns

bool

Result of comparing

Overrides object.Equals(object)

GetHashCode()

Gets hash code

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Hash code

Overrides object.GetHashCode()

Operators

operator !=(LayoutDecoratorBase, LayoutDecoratorBase)

Operator not equal

Declaration

cs-api-definition
public static bool operator !=(LayoutDecoratorBase layoutDecoratorOne, LayoutDecoratorBase layoutDecoratorTwo)

Parameters

layoutDecoratorOne

LayoutDecoratorBase

First object for comparing

layoutDecoratorTwo

LayoutDecoratorBase

Second object for comparing

Returns

bool

Whether objects are not equal

operator ==(LayoutDecoratorBase, LayoutDecoratorBase)

Operator comparing

Declaration

cs-api-definition
public static bool operator ==(LayoutDecoratorBase layoutDecoratorOne, LayoutDecoratorBase layoutDecoratorTwo)

Parameters

layoutDecoratorOne

LayoutDecoratorBase

First object for comparing

layoutDecoratorTwo

LayoutDecoratorBase

Second object for comparing

Returns

bool

Result of comparing