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

Code behind custom Node

Thread ID:





119444 Jun 22,2015 12:27 PM UTC Jun 24,2015 10:38 AM UTC WPF 3
Tags: Diagram
Domenico Mozzone
Asked On June 22, 2015 12:27 PM UTC

I need to update some diagram symbols in order to change dynamically their aspect on the base of a kind of diagram state.
The way I found works for what concerns aspect changing and it's based on building (complex) symbols in code behind.

All works except the resize of custom built symbols which structure is based on paths added to a grid and assigned to Node content.
I attached an example:
the node AcGen base on resource path works.
the simple node Symbol01 build as explained do not resise using the resise adorners.

I tried to attach the sizechanged event in order to change dinamically the size of inner path without results.

Where's my error?
Thank you

Attachment: CustomSymbols_20150622_141525Z_5bc77307.zip

Ranjitha Amirthalingam [Syncfusion]
Replied On June 23, 2015 10:36 AM UTC

Hi Domenico,

Thanks for using Syncfusion Products.

Reported Issue: “Unable to resize the custom built symbol”.

We have analyzed the given sample .In that sample, the Stretch property is not assigned for the custom symbol (Symbol01) which causes the reported issue. We have modified the sample by setting Stretch property as Fill to resolve the reported issue. Please refer to the sample to the sample from the following link.

Sample Link:

Please let us know if you require further assistance on this,

Ranjitha A.

Domenico Mozzone
Replied On June 23, 2015 03:06 PM UTC

Hi Ranjitha,
thank you for your fast reply.
The provided example solves my problem.
Thank you

Ranjitha Amirthalingam [Syncfusion]
Replied On June 24, 2015 10:38 AM UTC

Hi Domenico,

Thanks for the update.

Please let us know if you require further assistance on this,

Ranjitha A.


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