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
350
Porting an MDI application
posted

I'm trying to port a WinForms MDI application (not tabbed MDI) and I'm struggling with a new things. I'm trying to have a content pane docked to the left and a content pane docked to the right. That much I'm fine with.

However I also need multiple document windows in the middle of the application, in the space between the docked panels. Sometimes these will be tabbed and sometimes floating. I can get most of what I need with a DocumentContentHost, but I have a few sticking points:

1) Can I start a TabGroupPane that is in a DocumentContentHost in its floating state? I currently have to drag the tab's header to get it to float. I cannot set the InitialLocation because it's not in the Panes collection of a XamDockManager.

2) Can I somehow only allow a floating TabGroupPane to float within its DocumentContentHost parent, and not over the top of the docked left and right panels?

3) Can I set where a floating pane is minimised to? I'd like to also constrain it to the parent DocumentContentHost

thanks

Pete

Parents
No Data
Reply
  • 35319
    posted

    Hello Pete,

     

    Thank you for your post. I have been looking into your questions and currently you are not able to set ‘InitialLocation’ for TabGroupPane in a DocumentContentHost because this property is available only for SpiltPanes in the ‘Panes’ collection of the XamDockManager. If the TabGroupPane is added in the ‘Panes’ collection, you can set the ‘InitialLocation’.

     

    Regarding your second question it seems that currently you are not able to allow floating of the TabGroupPane in DocumentContentHost. You can restring the docking of the Content Panes in the TabGroupPane located in DocumentContentHost like :

     

    <igDock:DocumentContentHost >

                    <igDock:SplitPane>

                        <igDock:TabGroupPane >

                            <igDock:ContentPane  AllowDockingTop="False" AllowDockingRight="False" AllowDockingBottom="False" AllowDockingLeft="False" Header="Document1.xaml">

                                <RichTextBox VerticalScrollBarVisibility="Auto"  />

                            </igDock:ContentPane>

    </igDock:TabGroupPane>

                    </igDock:SplitPane>

                </igDock:DocumentContentHost>

     

    By default the content panes are minimized in the left down corner and it seems that we cannot modify this behavior.

     

    You can visit our product idea site : http://ideas.infragistics.com/ and submit the desired behaviors. Other visitors can rate your product ideas and this way our product team can decide which of them to be chosen for implementing.

     

    Let me know, if you need any further assistance on this matter.

Children
No Data