Hello Richard,
I tried your example and here is the result:
- The collapsed page is good. But this value 150, it's the 4 pages Headers's heights + the pageview header right?
Is there a way to get this programatically?
- when I expand one Tab, the pageview expand too but the 435 for height seems too little. The scroll bar appears (cf expanded.jpg)
- I tried to put 440, too little but 450 there's a wierd behavior: When I click to the last page for expanding it, the others pages disappear
- Another point: when I put a breakpoint on my event collapsed. If I reduce the opened panel, the page has his IsContentVisible at true even if i've just collapsed it. I'm of course not on Collapsing event. (cf wierdBehavior.jpg)
Actually since I would like to let user expand all panels, I need my page view to always follow my pages height. That's why I was asking for Header's height for calculating each time it's collapsed or expanded.
here is my code:
When form is loaded I resize my pageview for having the initial good size:
_CollapsedPageHeight is actually a constant value I tried to find (collapsedPageHeight)
Finally, can you try to reprduce the weird behavior listed before?
And what are pages default header height and pageview header height? Can I get it programmatically?
Thanks for help
Best Regards