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.

Default Node Properties

Thread ID:

Created:

Updated:

Platform:

Replies:

119896 Aug 11,2015 09:54 AM Aug 12,2015 05:27 AM Windows Forms 2
loading
Tags: Diagram
Sérgio Rodrigues Costa
Asked On August 11, 2015 09:54 AM

I´m trying to create a diagram that is bound to a database using "diagram.bindingsource=someDataTable", is there any way to set default properties for all the nodes that will be automatically inserted? As, label text size, height and width, background color and so on...

The "Essential Diagram for Windows Forms.pdf", covers the loading procedure from the database, but not a thing about the nodes properties that will be inserted.

Thanks in advance.


Sérgio Rodrigues Costa
Replied On August 11, 2015 11:11 AM

I´m trying to create a diagram that is bound to a database using "diagram.bindingsource=someDataTable", is there any way to set default properties for all the nodes that will be automatically inserted? As, label text size, height and width, background color and so on...

The "Essential Diagram for Windows Forms.pdf", covers the loading procedure from the database, but not a thing about the nodes properties that will be inserted.

Thanks in advance.


Well...I think this can solve my own question.
Dim bRect As Syncfusion.Windows.Forms.Diagram.RoundRect = New RoundRect(0, 0, 10, 10, MeasureUnits.Millimeter)
bRect.FillStyle.Color = Color.Aqua
Diagram1.Binding.DefaultNode = bRect

Thanks anyway.


Naganathan Ganesh Babu [Syncfusion]
Replied On August 12, 2015 05:27 AM

Hi Sergio,

Thanks for using Syncfusion products.

We are happy to hear that your problem is resolved. Please let us know if you need any further assistance.

Regards,


Naganathan K G


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.

;