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.
Unfortunately, activation email could not send to your email. Please try again.

Grid location

Thread ID:

Created:

Updated:

Platform:

Replies:

22374 Dec 10,2004 11:58 AM Dec 13,2004 11:28 AM Windows Forms 3
loading
Tags: Diagram
Tommy Norman
Asked On December 10, 2004 11:58 AM

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 06:06 PM

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 05:11 AM

Hi Arun, Thanks alot for the code example this looks promising! However this means I have to go to 3.0.0.19 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 11:28 AM

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

CONFIRMATION

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.

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.

;