Hi,
I need the following configurationwith the DockManager :
When I want to move the "BLOC 4" or the "BLOC 5-1" I have the following exception :
Is that me doing wrong in my implementation or is that a bug ?
I attached a solution to show you how I do.
Regards.
Fabien.
Hi Fabien,
I think that the problem is that you're putting the spBas split pane into the DockManager itself. XamDockManager is a content control but the only acceptable content is DocumentContentHost.
So you need either to add Document Content Host(details in the help link above) and put these panes in it or to move spBas split pane to the Panes collection.
HTH,
Hi Konstantin,
with DocuementContentHost I can have something like this :
Two questions now :
- How can I have the same behavior with the DocumentContentHost and "BLOC 4" as SplitPane (at beginning each take half size as "BLOC 1" and "BLOC 3") ?
- Is there a way to put the tab header of the DocumentContentHost in the bottom ?
Unfortunately I don't think you could achieve these goals.
Here are the details:
There is no way to put SplitPane into a TabGRoupPane and DocumentContentHost(DCH) can have only TabGroupPanes for children panes. So bout the first question you can not have the same behavior with DCH as the one you get without it.
About your second question - there is no out of the box way to place the headers at the bottom of the panes. May be you could try to re-template the TabGroupPane that is inside DCH so the headers are shown at the bottom, but I am not sure if this is possible.
I will ask our Dev Support team to log a feature request on your behalf about using not only a DCH as a content of XamDockManager.
I'm back on my problem, I tried to specified a width for the DHC and the BLOC 4 to have a fake split pane but it seems that the size has a minimum value and my BLOC 4 seems to have a maximum value.
Is there a way to specify those values ?
Hello Fabien,
The ContentPane has a MinWidth and MaxWidth properties, still please have in mind that in some cases when you set the Location of the SplitPanes and the ContentPanes our XamDockManager control will place the panes ignoring the sizes that you set in order to fit them in the available space. Therefore I believe that the XamDockManager currently don’t support the layout that you require, so I submitted this design as new product idea with number PI12040077.
Okay thanks for the reply, I'll wait.