سؤال

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