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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid location

Thread ID:





22374 Dec 10,2004 04:58 PM UTC Dec 13,2004 04:28 PM UTC WinForms 3
Tags: Diagram
Tommy Norman
Asked On December 10, 2004 04:58 PM UTC

Hi, Is it possible to add an offset on the grid start location? I have Horizontal and Vertical spacing set to 28 pixels and want the first grid square to start in position x=10px,y=10px instead of 0;0 as it is now. Best Regards Tommy

Administrator [Syncfusion]
Replied On December 10, 2004 11:06 PM UTC

Hi Here is a sample that shows how you can do what you are seeking. It contains a derived Diagram in (MyDiagram) in which the CreateView() is overriden to return a custom View (MyView). In the derived View the CreateGrid() is overriden to return a custom LayoutGrid (LayoutGrid). Take a look at the code in the MyLayoutGrid class in which Draw() and DrawLineGrid() are overriden and changes can be made as per your requirements. Regards Arun

Tommy Norman
Replied On December 13, 2004 10:11 AM UTC

Hi Arun, Thanks alot for the code example this looks promising! However this means I have to go to which is still a beta. When can I expect the release of 3.0? I have to deliver in Mars and I don''t want to deliver beta assemblies. Best Regards Tommy

Administrator [Syncfusion]
Replied On December 13, 2004 04:28 PM UTC

Hi Tommy The 3.0 version of Essential Suite is scheduled to ship this week. You can contact our Sales Team at salessupport@syncfusion.com if you need a key for the 3.0 version. Regards Arun


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

Live Chat Icon For mobile
Live Chat Icon