skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class Position

Represents the element position in the container

Inheritance
System.Object
StateManagedObject
Position
PositionBottom
PositionCenter
PositionLeft
PositionRight
PositionTop
PositionTopLeft
PositionTopRight
Inherited Members
StateManagedObject.IChartingStateManager.LoadViewState(Object)
StateManagedObject.IChartingStateManager.SaveViewState()
StateManagedObject.IChartingStateManager.TrackViewState()
StateManagedObject.CloneState()
StateManagedObject.SaveViewState()
StateManagedObject.TrackViewState()
StateManagedObject.LoadViewState(Object)
StateManagedObject.SetDirty()
StateManagedObject.ToString()
StateManagedObject.ViewStateIgnoresCase
StateManagedObject.IChartingStateManager.IsTrackingViewState
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
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
System.ICloneable.Clone()

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
System.Object.Equals(System.Object)

GetHashCode()

Gets hash code

Declaration
public override int GetHashCode()
Returns
System.Int32

Hash code

Overrides
System.Object.GetHashCode()

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

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.