LayoutDecoratorBase
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
Creates new instance of LayoutDecoratorBase class.
public LayoutDecoratorBase()
Creates new instance of LayoutDecoratorBase class.
public LayoutDecoratorBase(object containerObject)
Container element
Creates new instance of LayoutDecoratorBase class.
Properties
Sets the bottom side in pixels or percents of the chart's height.
[Browsable(true)]
[TypeConverter(typeof(UnitConverter))]
[SkinnableProperty]
public virtual Unit Bottom { get; set; }
Sets the left side in pixels or percents of the chart's width.
[Browsable(true)]
[TypeConverter(typeof(UnitConverter))]
[SkinnableProperty]
public virtual Unit Left { get; set; }
Sets the right side in pixels or percents of the chart's width.
[Browsable(true)]
[TypeConverter(typeof(UnitConverter))]
[SkinnableProperty]
public virtual Unit Right { get; set; }
Methods
Clone this object
public object Clone()
New instance of LayoutDecoratorBase class with the same fields as this one
Implements:
Copy fields from object
public void CopyFrom(LayoutDecoratorBase layoutDecorator)
Object to copy from
Gets hash code
Operators
Operator not equal
public static bool operator !=(LayoutDecoratorBase layoutDecoratorOne, LayoutDecoratorBase layoutDecoratorTwo)
First object for comparing
layoutDecoratorTwoLayoutDecoratorBaseSecond object for comparing
Returns:Whether objects are not equal
Operator comparing
public static bool operator ==(LayoutDecoratorBase layoutDecoratorOne, LayoutDecoratorBase layoutDecoratorTwo)
First object for comparing
layoutDecoratorTwoLayoutDecoratorBaseSecond object for comparing
Returns:Result of comparing