ClassLayoutDecoratorBase
Base class for a chart Margins and Paddings
Definition
Namespace:Telerik.Charting.Styles
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
[TypeConverter(typeof(MarginsConverter))]
public class LayoutDecoratorBase : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, ICloneable
Inheritance: objectStateManagedObjectLayoutDecoratorBase
Derived Classes:
Implements:
Inherited Members
Constructors
LayoutDecoratorBase()
Creates new instance of LayoutDecoratorBase class.
Declaration
public LayoutDecoratorBase()
LayoutDecoratorBase(Unit)
Creates new instance of LayoutDecoratorBase class.
LayoutDecoratorBase(Unit, Unit, Unit, Unit)
Creates new instance of LayoutDecoratorBase class.
LayoutDecoratorBase(int, int, int, int)
Creates new instance of LayoutDecoratorBase class.
LayoutDecoratorBase(object)
Creates new instance of LayoutDecoratorBase class.
Declaration
public LayoutDecoratorBase(object containerObject)
Parameters
containerObject
Container element
LayoutDecoratorBase(object, Unit, Unit, Unit, Unit)
Creates new instance of LayoutDecoratorBase class.
Properties
Bottom
Sets the bottom side in pixels or percents of the chart's height.
Declaration
[Browsable(true)]
[TypeConverter(typeof(UnitConverter))]
[SkinnableProperty]
public virtual Unit Bottom { get; set; }
Property Value
Left
Sets the left side in pixels or percents of the chart's width.
Declaration
[Browsable(true)]
[TypeConverter(typeof(UnitConverter))]
[SkinnableProperty]
public virtual Unit Left { get; set; }
Property Value
Right
Sets the right side in pixels or percents of the chart's width.
Declaration
[Browsable(true)]
[TypeConverter(typeof(UnitConverter))]
[SkinnableProperty]
public virtual Unit Right { get; set; }
Property Value
Methods
Clone()
Clone this object
Declaration
public object Clone()
Returns
New instance of LayoutDecoratorBase class with the same fields as this one
Implements
CopyFrom(LayoutDecoratorBase)
Copy fields from object
Declaration
public void CopyFrom(LayoutDecoratorBase layoutDecorator)
Parameters
layoutDecorator
Object to copy from
Equals(object)
Checks whether objects are equal
GetHashCode()
Gets hash code
Operators
operator !=(LayoutDecoratorBase, LayoutDecoratorBase)
Operator not equal
Declaration
public static bool operator !=(LayoutDecoratorBase layoutDecoratorOne, LayoutDecoratorBase layoutDecoratorTwo)
Parameters
layoutDecoratorOne
First object for comparing
layoutDecoratorTwo
Second object for comparing
Returns
Whether objects are not equal
operator ==(LayoutDecoratorBase, LayoutDecoratorBase)
Operator comparing
Declaration
public static bool operator ==(LayoutDecoratorBase layoutDecoratorOne, LayoutDecoratorBase layoutDecoratorTwo)
Parameters
layoutDecoratorOne
First object for comparing
layoutDecoratorTwo
Second object for comparing
Returns
Result of comparing