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

Need help related to binding of lines with business object

Thread ID:

Created:

Updated:

Platform:

Replies:

102234 Jan 12,2012 06:27 AM UTC Jan 18,2012 12:36 PM UTC WPF 3
loading
Tags: Diagram
nadeem
Asked On January 12, 2012 06:27 AM UTC

I need to bind Business object to LineStyle.Stroke property.I want to change the color of line depending upon the value of my business object.How can I do this.

Looking for a quick and positive response from your side.

Regards
Nadeem Sattar



Ramya Thirugnanam [Syncfusion]
Replied On January 13, 2012 04:29 AM UTC

Hi Nadeem,

With regards to Business Object binding on connection line, we have created a simple sample to represent your requirement. Please refer to the sample from the attachment.

Sample Details:
In that sample, We have BusinessObject as content of the Node. Please select a Node and choose a Color(name) from the combo box. Based on the item selected in Combo box, the business object property(Select Color) will be changes. LineConnector Stroke property will be changed when the business object’s property change.

If this response does not satisfy your requirement, please get back us with more details of your expectations.

Please let us know if you have any concerns.
Regards,
Ramya




BusinessObject_15e35a43.zip

nadeem
Replied On January 13, 2012 05:51 AM UTC

Hi,
The sample you send to me was not working.Connector does not change its color while changing dropdown values.

Hi Nadeem,

With regards to Business Object binding on connection line, we have created a simple sample to represent your requirement. Please refer to the sample from the attachment.

Sample Details:
In that sample, We have BusinessObject as content of the Node. Please select a Node and choose a Color(name) from the combo box. Based on the item selected in Combo box, the business object property(Select Color) will be changes. LineConnector Stroke property will be changed when the business object’s property change.

If this response does not satisfy your requirement, please get back us with more details of your expectations.

Please let us know if you have any concerns.
Regards,
Ramya


Ramya Thirugnanam [Syncfusion]
Replied On January 18, 2012 12:36 PM UTC

Hi Nadeem,
With regards to Business Object binding on connection line, the provided sample is working fine for us. Please refer to the Video which represent this from the attachment.

Note: Please Select the Node and then chose the Values from the Combo box.
Please let us know if you have any concerns.
Regards,
Ramya




SolutionforBusinessObject_1992dd50.zip

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.

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

;