You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some question:
How to get ItemContainer's width and height use binding? the result I got was Nan.
The ItemContainer's location are not updated until the drag is completed, how to update minimap's node items location in realtime when drag node item?
So, is there a better solution, thank you very much.
The text was updated successfully, but these errors were encountered:
I cannot think of a simple way to create a minimap but I'm pretty sure you can use the RenderTransform of the ItemContainer to get real-time updates for the location of the nodes.
I also added a bindable ActualSize dependency property to the ItemContainer if that helps. There's also the PreviewLocationChanged event on ItemContainer that gives you the exact location of the container in real-time.
Like this:
My solution:
https://gist.github.com/Yokosama/723b0465a669c9207b69b77e9cec653d
I have some question:
How to get ItemContainer's width and height use binding? the result I got was Nan.
The ItemContainer's location are not updated until the drag is completed, how to update minimap's node items location in realtime when drag node item?
So, is there a better solution, thank you very much.
The text was updated successfully, but these errors were encountered: