ButchersBoy / Dragablz

Dragable and tearable tab control for WPF
http://dragablz.net
MIT License
2.17k stars 321 forks source link

Performance issue when a lot of complex items in DragablzItemsControl #218

Closed Mhyrtas closed 5 years ago

Mhyrtas commented 5 years ago

I've experience it with 10+ items actually since my items are all complex (Different UserControl(s) per step type).

I've found out that DragablzItemsControl use 'Canvas' instead of 'StackPanel' which supports Virtualization. Is there a way to fix this on my side?

stepexample

Mhyrtas commented 5 years ago

I fixed my problem. Since I had an ItemsControl for each TabItem, I tried to not unload each TabItem when I switched between them and it worked!