Changing Tab Orientation

Apr 2, 2011 at 3:38 PM
Edited Apr 2, 2011 at 3:38 PM

Hello,

first of all thanks for sharing this library.

I wanted to create the tab layer on the left side instead the top and arrange items vertically.

To achive this I decided to let a simple StackPanel arrange the Items, so I changed the PaneTabPanel base class from Panel to StackPanel and removed both the MeasureOverride and ArrangeOverride implementations.

From a visual point of view everything is working fine, the tabs are now located on the left and arranged vertically.

Unfortunately this action introduced an unwanted behaviour since now, everytime I click on a tab, all tabs get rearranged, I haven't even figured out a pattern, it seems completely random.

I have absolutely no clue what could trigger such behaviour. Any help would be greatly appreciated.

Alex