I am trying to create an interface which has a Outlook Bar in the LHS, a tab control in the center and another Outlook bar on the RHS. Currently I have
<Grid Name="GridMain"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <igDock:XamDockManager HorizontalAlignment="Stretch" Name="XamDockManager1" VerticalAlignment="Stretch" xmlns:igDock="http://infragistics.com/DockManager" Width="Auto" > <igDock:XamDockManager.Panes> <igDock:SplitPane igDock:XamDockManager.InitialLocation="DockedLeft" Width="Auto"> <igDock:ContentPane Header="Pane 1" igDock:SplitPane.RelativeSize="100, 100" AllowClose="False"> <igOutlookBar:XamOutlookBar Name="XamOutlookBar1" Margin="0" >
OTHER CODE HERE IS NOT RELEVANT
</igOutlookBar:XamOutlookBar>
</igDock:ContentPane> <igDock:ContentPane Header="Pane 2" igDock:SplitPane.RelativeSize="100, 100" AllowClose="False"> <igWindows:XamTabControl Height="Auto" Name="XamTabControl1" Width="Auto"> <igWindows:TabItemEx Header="tabItemEx1" Name="tabItemEx1" HorizontalContentAlignment="Left" Margin="0" VerticalContentAlignment="Top">
</igWindows:TabItemEx> </igWindows:XamTabControl> </igDock:ContentPane> <igDock:ContentPane Header="Pane 3" igDock:SplitPane.RelativeSize="50,50" AllowClose="False" IsPinned="True"> </igDock:ContentPane> </igDock:SplitPane> </igDock:XamDockManager.Panes> </igDock:XamDockManager> </Grid>
All pretty Micky Mouse stuff I would think. I want the app to open with the DockManager and the Panes contain therein filling the whole of the form. I would have thought this would have been very simple. Some period of time later I think I am best off asking for the solution!
Thanks
John
You may want to review this thread since it poses a similar question - http://forums.infragistics.com/forums/t/10626.aspx. Essentially the xamDockManager is a ContentControl and the Panes collection are meant to be positioned around that content. That content can be any control (e.g. your tabcontrol) or a DocumentContentHost if you want a VS style tabbed mdi interface.
I read the thread which obviously didn't help me! What would you recommend as the controls I should use to arrive at the following style of interface. Note that the top and bottom of the screen portions are fine.
Top of Screen = Ribbon
Middle portion of screen
LHS = Outlook bar with stack panel
Center of screen will be tab control (or similar)
RHS = Another Outlook bar with a stack panel.
It would be a requirement that the middle portion of the screen fills it's portion of the screen. Docking capabilities would be prefereable in this area but it would not be the end of the world if this were not possible. I don't need sample code (I hope!) simply the control hierarchy.
Bottom of Screen = Status Bar
Surely this is a fairly standard requirement?
BTW I really appreciate how quick you guys get onto these questions.