Position
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
Creates an instance of Position class.
public Position()
Creates an instance of Position class.
public Position(AlignedPositions position, float x, float y)
Aligned position of element
xfloatX coordinate
yfloatY coordinate
Creates an instance of Position class.
public Position(AlignedPositions position)
Aligned position of element
Creates an instance of Position class.
public Position(float x, float y)
X coordinate
yfloatY coordinate
Creates an instance of Position class.
public Position(object container)
Container element
Properties
Specifies aligned position in comprehensive figure
[SkinnableProperty]
public virtual AlignedPositions AlignedPosition { get; set; }
Auto
bool
Automatic positioning
public virtual bool Auto { get; set; }
X
float
Specifies the X coordinate of the figure position
public virtual float X { get; set; }
Y
float
Specifies the Y coordinate of the figure position
public virtual float Y { get; set; }
Methods
Clone()
object
Clone this object
public virtual object Clone()
object
Cloned object
Equals(object)
bool
Determines whether the specified System.Object is equal to the current System.Object.
public override bool Equals(object obj)
Object to compare
Returns:bool
Result of comparing
Overrides:
Gets hash code
public override int GetHashCode()
int
Hash code
Overrides:
Reset X coordinate to default
protected virtual void ResetX()
Reset Y coordinate to default
protected virtual void ResetY()
Manages design-time serialization of X
protected virtual bool ShouldSerializeX()
bool
True if value should be serialized
Manages design-time serialization of Y
protected virtual bool ShouldSerializeY()
bool
True if value should be serialized