This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Jason, I found there is a problem that the custom node shape will not be applied if a particular tab which contains the Diagram Surface is not visible at the beginning of the application launch. (The nodes and connections are loaded in the diagram, the tab is just not added to the tab control). But if I pre-load all the tabs into the tab control, the nodes look fine. Best, Xiaochu |
|
|
Hi Xiaochu, Does that particular tab hold the shape node resources? Shape node resources are best to be held in a ResourceDictionary at the application level, such as in App.xaml. I will have a look at your issue this week, but if you could send a repro project in the next couple of days, that would be a huge help to solving this. -Jason Fauchelle |
|
|
Jason, Thank you! The problem is solved when I move the node resources to application level. Previously, the node resource was in the main window level Can you please explain a little bit more how this difference impact? Best, Xiaochu |
|
|
Hi Xiaochu, Sorry, I'm not actually sure, the main window level would surely be fine for providing the resources to every tab within that window. I only know there would be a problem if the resources were scoped to a particular tab. Great to hear that the problem is solved. -Jason Fauchelle |
|