Hi
I have a XamTabControl inside a DockManager as a SplitPane.
I have the Pane unpinned ready and waiting for the user to hover over for access.
Within the Tab Control I have 2 tabs, 1 a natural height of 200 and the other of 1000.
Because we have the natural size to content, selecting 1 tab is ok, selecting the other expends the whole thing to the screen.
I can set MaxHeight, MinHeight, etc which works, but if the user then drags the splitter bar it will not resize the content (as we have put Height values on it)
Any suggestions ?
cheers
Martin
Before you drag the splitter, the Height of the SplitPane is double.NaN (i.e. unspecified) so the height of the SplitPane is based on its desired size which essentially is based on the content. Once you drag the splitter though we have to change the Height of the splitter so we can honor the split height that the user has specified. What is the behavior that you would expect once the user drags the splitter?
thanks
Once the splitter has been altered I would like the contents of the spliter to ignore their own size and work off the splitter
Or to put it another way, when dragged the splitter should to ignore the set size of the content and resize them
I need something like InitialHeight, used when loaded but can be ignored.
Are there feedback events from the Resizeing of the splitter? (I tried SplitPane.SizeChanged but nothing)