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, I generated the tool box item programmatically, and all of the tool box items share a same style, please see the style below, but the items cannot be displayed and dragged, I try to set the controltemplate in the style, then it can display but not draggable, do you have any ideas? Thanks,
|
|
|
Hello Jzhou The reason it does not appear to be draggable is because in the CursorVisual, the bindings are not being resolved - so the visual doesn't display anything. In the next nightly build, there will be support for binding in the CursorVisual. Also, make sure you're setting the Content property, not the DataContext property of the DiagramNodeTools to be your model object. Let me know if it still doesn't seem to be working after the next nightly build. Jason Fauchelle |
|