Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
Looking for an example for predefined layouts
posted

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

Parents
No Data
Reply
  • 54937
    Offline posted

    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.

        <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.

Children