ClassLayoutDecoratorBase
Base class for a chart Margins and Paddings
Definition
Namespace:Telerik.Reporting.Charting.Styles
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(MarginsConverter))]
public class LayoutDecoratorBase : StateManagedObject, IChartingStateManagedItem, IChartingStateManager
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.
Declaration
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
public LayoutDecoratorBase(object containerObject)
Parameters
containerObject
object
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
object
New instance of LayoutDecoratorBase class with the same fields as this one
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
Declaration
public override bool Equals(object obj)
Parameters
obj
object
Object to compare
Returns
bool
Result of comparing
Overrides
GetHashCode()
Gets hash code
Declaration
public override int GetHashCode()
Returns
int
Hash code
Overrides
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
bool
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
bool
Result of comparing