ClassPosition
Represents the element position in the container
Definition
Namespace:Telerik.Reporting.Charting.Styles
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Position : StateManagedObject, IChartingStateManagedItem, IChartingStateManager
Inheritance: objectStateManagedObjectPosition
Derived Classes:
Implements:
Inherited Members
Constructors
Position(AlignedPositions)
Creates an instance of Position class.
Declaration
public Position(AlignedPositions position)
Parameters
position
Aligned position of element
Position(AlignedPositions, float, float)
Creates an instance of Position class.
Declaration
public Position(AlignedPositions position, float x, float y)
Parameters
position
Aligned position of element
x
float
X coordinate
y
float
Y coordinate
Position(float, float)
Creates an instance of Position class.
Declaration
public Position(float x, float y)
Parameters
x
float
X coordinate
y
float
Y coordinate
Position(object)
Creates an instance of Position class.
Declaration
public Position(object container)
Parameters
container
object
Container element
Properties
AlignedPosition
Specifies aligned position in comprehensive figure
Declaration
[SkinnableProperty]
public virtual AlignedPositions AlignedPosition { get; set; }
Property Value
Auto
Automatic positioning
Declaration
public virtual bool Auto { get; set; }
Property Value
bool
X
Specifies the X coordinate of the figure position
Declaration
public virtual float X { get; set; }
Property Value
float
Y
Specifies the Y coordinate of the figure position
Declaration
public virtual float Y { get; set; }
Property Value
float
Methods
Clone()
Clone this object
Declaration
public virtual object Clone()
Returns
object
Cloned object
Equals(object)
Determines whether the specified System.Object is equal to the current System.Object.
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
ShouldSerializeX()
Manages design-time serialization of X
Declaration
protected virtual bool ShouldSerializeX()
Returns
bool
True if value should be serialized
ShouldSerializeY()
Manages design-time serialization of Y
Declaration
protected virtual bool ShouldSerializeY()
Returns
bool
True if value should be serialized