Question

Avalondock repositions document tabs when one is resizing the document panel. See images below

Tab position before resize Tab position after resize

Can anyone please tell me how Avalondock manages the order of its tabs? Where can I find this logic (for the repositioning for instance) in the source code of Avalondock?

Was it helpful?

Solution

I figured it out in the meanwhile.. it is the ArrangeOverride(Size finalSize) method from DocumentPaneTabPanel which is doing this repositioning.

I changed this code to implement my own positioning behaviour.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top