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 Problem

Thread ID:





59267 Apr 10,2007 04:18 AM UTC Apr 17,2007 08:33 PM UTC WinForms 4
Tags: Diagram
Asked On April 10, 2007 04:18 AM UTC

Hi, We have an application based on the diagram.

Question 1: If I draw a rectangle on the diagram, is it a object which I could get the properties of it and compile it? and is it an instance as well?

Question 2: Then, how could I get the instance of the rectangle and how to operate on it, such as getting the properties of the instance--name, width and height, x?,y?

Thanks in advance,

Administrator [Syncfusion]
Replied On April 10, 2007 02:16 PM UTC

Hello Jennifer,

Thanks for your interest in Syncfusion products.

As with your queries,

All the drawing elements such as Rectangles if used to populate a diagram, then they are recognized as a diagram object or instances of the Diagram control.

If your intention is to retrieve the properties of the diagram object then , you can go with it by using the Diagram's utility methods and properties.

I have created a small sample implementing this which would help you modify the properties of the diagram objects including its size,height,name,etc.

Please do let us know if we can be of further assistance to you.



Replied On April 11, 2007 03:23 AM UTC

I know there is a "Model" control in your instance,but i can not find it im mine. And i can not realize the "Note" function which could be useful in your case.

J.Nagarajan [Syncfusion]
Replied On April 13, 2007 08:57 AM UTC

Hi Jennifer,

Model has been separeted from the Diagram control. It needs to be added from the toolbox and to be assigned to the Diagram control using the Diagram.Model property.

If You could not find our Model component in toolbox, Please add the Model component from the Customize Toolbox.

The Diagram.Base.dll refers the Node class. Please check all 5.1 syncfusion assemblies are added in your reference node and these dlls are pointing to v.

Please let me know if this helps you.


J.Nagarajan [Syncfusion]
Replied On April 17, 2007 08:33 PM UTC

Hi Jennifer,

Model has been separated from Diagram but was integrated to it by default. So that the model component need not to be assigned explicitly. It is just enough to add the diagram control alone from the toolbox to the form.This is available in our main release.



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