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
|
Hello, When I'm clicking the connection point of a node, an exception occurs, please see the picture. thanks |
|
|
Thanks Jzhou This crash will be resolved in the next nightly build. The only way I have been able to reproduce this is by applying a custom window style that does not include an AdornerDecorator. If you are applying a custom window style/template, make sure you wrap the main ContentPresenter in an AdornerDecorator so that the connection-preview lines are displayed. Jason Fauchelle |
|
|
Hello, I have tested the new build, there was no crash, but I cannot connect connection point. When I was trying to connection two connection point, there is no create connection appear. Do you mean the main window of the application? Is this the reason I cannot connect? Thanks |
|
|
Hello Jzhou Yes, it sounds like the window holding the DiagramSurface does not have an adorner layer. The only way I know of this to be possible is if you are applying a custom style or template to the window containing the DiagramSurface. If this is so, you'll need to go to that style/template and wrap the ContentPresenter of the template inside an AdornerDecorator. Here is a very basic example of a window style and template that demonstrates this: http://msdn.microsoft.com/en-us/library/aa969824(v=vs.90).aspx If you are not applying a custom window style, or you need further assistance, send me a repro project and I'll investigate. Jason Fauchelle |
|