I would like to create an diagram editor and there is a requirement to move and resize huge amount of items.

And I also I have heard that default WPF adorners are slow.

What is the best way and recommendations to make responsive adorers layer? Custom or based on the WPF built-in adorners? As far as I know expression blend is also using its own adorners implementation.

For me the performance is more important than implementation time.

Thanks.

有帮助吗?

解决方案

After the real implementation an testing: If you have a lot of complex controls and performance meters than it's better to use OnRender() method. Preview events are working fine to find out that you about to interact with a fake adorners, but it's an extra work.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top