I need to move my WPF application to use AvalonDock so that I can have my application offer floating and docked windows. I have downloaded the toolkit and I have a very simple test bed to test if I can do what I need using AvalonDock. Here is my very simple main window:
Thanks,
Sid.
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:avalonDock="http://schemas.xceed.com/wpf/xaml/avalondock"
xmlns:local="clr-namespace:DebugBar"
Title="MainWindow" Height="350" Width="525">
<Grid>
<avalonDock:DockingManager x:Name="dockingManager">
<avalonDock:LayoutRoot>
<avalonDock:LayoutRoot.LeftSide>
<avalonDock:LayoutAnchorSide>
<avalonDock:LayoutAnchorGroup>
<avalonDock:LayoutAnchorable Title="Core Registers">
<local:cpuCoreAndRegisters x:Name="ctrlCoreRegisters" Margin="0"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
</avalonDock:LayoutAnchorable>
<avalonDock:LayoutAnchorable Title="I/O View">
<TextBox/>
</avalonDock:LayoutAnchorable>
</avalonDock:LayoutAnchorGroup>
</avalonDock:LayoutAnchorSide>
</avalonDock:LayoutRoot.LeftSide>
</avalonDock:LayoutRoot>
</avalonDock:DockingManager>
</Grid>
</Window>
I want my main window to only have the dockable/floating windows, no other view is required. Is there a way to have the window fill the whole application view when it is made visible? Ideally I would like the application to just have a series of TABs down the left. Click on or hovering over a TAB should fill the whole application window.Thanks,
Sid.