We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Diagram positioning

Thread ID:





103821 Jun 3,2012 01:14 PM UTC Jun 5,2012 11:34 AM UTC Silverlight 1
Tags: Diagram
Asked On June 3, 2012 01:14 PM UTC

Is it possible to start drawing diagram from top left position and not to center the diagram? Which properties of diagram control should I change? Example images of diagram are in the attachment. First is showing what I'm getting now and the second one is showing what I want to achieve.


Sudhakar C [Syncfusion]
Replied On June 5, 2012 11:34 AM UTC

Hi Piotr,

We can position the Layout of the diagram at top left position by using the LayoutHorizontalAlignment and LayoutVerticalAlignment property of DiagramModel. We have created the sample for your reference. In that sample we have set the LayoutHorizontalAlignment property to Left and LayoutVerticalAlignment property to Top, then the Layout will be positioned in top left position of the Layout Bounds. Likewise we can set 9 different position to Layout Horizontal & Vertical Alignment property. We have attached the image for the reference of 9 different position. In that image the black colored border is the Layout Bounds. For more information please refer the following sample and image.

Sample Link:

Image Link:

Please let us know if you have any concerns.







This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon