Class Position
Represents the element position in the container
Inherited Members
Namespace: Telerik.Charting.Styles
Assembly: Telerik.WinControls.RadChart.dll
Syntax
public class Position : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, ICloneable
Constructors
Position()
Creates an instance of Position class.
Declaration
public Position()
Position(Object)
Creates an instance of Position class.
Declaration
public Position(object container)
Parameters
System.Object
container
Container element |
Position(Single, Single)
Creates an instance of Position class.
Declaration
public Position(float x, float y)
Parameters
System.Single
x
X coordinate |
System.Single
y
Y coordinate |
Position(AlignedPositions)
Creates an instance of Position class.
Declaration
public Position(AlignedPositions position)
Parameters
AlignedPositions
position
Aligned position of element |
Position(AlignedPositions, Single, Single)
Creates an instance of Position class.
Declaration
public Position(AlignedPositions position, float x, float y)
Parameters
AlignedPositions
position
Aligned position of element |
System.Single
x
X coordinate |
System.Single
y
Y coordinate |
Properties
AlignedPosition
Specifies aligned position in comprehensive figure
Declaration
[SkinnableProperty]
public virtual AlignedPositions AlignedPosition { get; set; }
Property Value
AlignedPositions
|
Auto
Automatic positioning
Declaration
public virtual bool Auto { get; set; }
Property Value
System.Boolean
|
X
Specifies the X coordinate of the figure position
Declaration
public virtual float X { get; set; }
Property Value
System.Single
|
Y
Specifies the Y coordinate of the figure position
Declaration
public virtual float Y { get; set; }
Property Value
System.Single
|
Methods
Clone()
Clone this object
Declaration
public virtual object Clone()
Returns
System.Object
Cloned object |
Implements
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object to compare |
Returns
System.Boolean
Result of comparing |
Overrides
GetHashCode()
Gets hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Hash code |
Overrides
ResetX()
Reset X coordinate to default
Declaration
protected virtual void ResetX()
ResetY()
Reset Y coordinate to default
Declaration
protected virtual void ResetY()
ShouldSerializeX()
Manages design-time serialization of X
Declaration
protected virtual bool ShouldSerializeX()
Returns
System.Boolean
True if value should be serialized |
ShouldSerializeY()
Manages design-time serialization of Y
Declaration
protected virtual bool ShouldSerializeY()
Returns
System.Boolean
True if value should be serialized |