Hi Everyone.
I apologize in advance since I am somewhat of a newbie to the awesome skills of WPF with infragistics. I want to create a window with a xamDockManager control and customize the layout of the panels inside of it. I could not find a good example online. I am looking for something along the lines of the following layout...
Three panels to look as follows...
-------------------------------------------------
| | |
| ---------------
Can anyone provide me with an example or something similar...
Thanks!
Mike
Its hard to say exactly from the rendering where those panels are with respect to your window's main content. If you just want those panes docked on the left then you can do something like the following.
If you want the big panel on the left to be the content then you would put that control into the Content property (where the TextBox is in the above snippet) and leave the other two in a split pane on the right. If this is not what you are trying to accomplish then please provide more information about your layout requirements and I can try to help you.
Andrew Smith"] <igDock:XamDockManager> <igDock:XamDockManager.Panes> <igDock:SplitPane igDock:XamDockManager.InitialLocation="DockedLeft"> <igDock:ContentPane Header="Big On Left"> <Button>Big On Left</Button> </igDock:ContentPane> </igDock:SplitPane> <igDock:SplitPane igDock:XamDockManager.InitialLocation="DockedLeft" SplitterOrientation="Horizontal"> <igDock:ContentPane Header="Top"> <Button>Top</Button> </igDock:ContentPane> <igDock:ContentPane Header="Bottom"> <Button>Bottom</Button> </igDock:ContentPane> </igDock:SplitPane> </igDock:XamDockManager.Panes> <TextBox AcceptsReturn="True" Text="This is your main content for the window" /> </igDock:XamDockManager> If you want the big panel on the left to be the content then you would put that control into the Content property (where the TextBox is in the above snippet) and leave the other two in a split pane on the right. If this is not what you are trying to accomplish then please provide more information about your layout requirements and I can try to help you.
And is it possible to do this layout without the using of this "big panel". for example i want that all content is floatable and dockable. when i put something in the content of xamDockManager it wont have this features. but when i leave the content blank and put all in the panes of xamDockManager i have always this blank area of the xamDockManager content.isnt it possible to let the panes fill the whole area? i remember that there was a flag in UltraDockManager (winForms) "LayoutStyle" wich could be set to "Fill Container" so that when you do something like that
you only have this single pane in your dockmanager and no Splitter on the right, because theres nothing. I hope you understand my problem.
Thanks
Axel
There's another thread discussing having a Fill layout style in xamDockManager. Basically that feature is not available in the current version. I would recommend submitting a suggestion for that feature and include as much details about your requirements as possible. In that sample you could have replaced the TextBox with a DocumentContentHost but that's not quite the same as filling with dockable panes - that will create a tabbed document similar to VS (except we actually allow you to drag panes into and out of the document area and like our tabbed mdi manager we allow nested groups).