Let me start by saying, I'm new to the product. We are evaluating switching from DevExpress AvalonDock to ActiPro. I'm having some issues with saving, loading, and changing the sizes of our tool windows.
I have ContainerMinSize specifed on each ToolWindow, each ToolWindow is within a ToolWindowContainer. We have 2 on the Left, Workspace, and 3 on the Right.
For some reason when the parent window is Maximized they respect the sizes, but if the parent window is Normal state the containers revert to 1/2 size on left, and 1/3 size on right.
Also for some reason that I cannot reproduce, my main window can no longer resize those ToolWindows, however creating a new sample using the exact same Xaml (only different content in the ToolWindows) does work and allows them to resize.
Any help is appreciated, I'd like to get a working sample so we can purhcase this software.
<Window
x:Class="MatrixGold.TestDock"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking"
xmlns:local="clr-namespace:MatrixGold"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:views="clr-namespace:MatrixGold.Views"
Title="TestDock"
Width="800"
Height="450"
mc:Ignorable="d">
<Grid>
<!-- Dockable UI Panes -->
<docking:DockSite
x:Name="dockSite"
Margin="0,0,0,0"
CanDocumentWindowsClose="False"
DockPanel.Dock="Top"
UseLayoutRounding="False">
<docking:SplitContainer Orientation="Horizontal">
<docking:SplitContainer Orientation="Vertical">
<docking:ToolWindowContainer>
<docking:ToolWindow
x:Name="Layers"
Title="Layers"
ContainerMinSize="200,311"
HasOptionsButton="True"
HasTitleBar="True"
IsFloating="False">
<TextBlock
HorizontalAlignment="Center"
Foreground="Black"
Text="LAYERS" />
</docking:ToolWindow>
</docking:ToolWindowContainer>
<docking:ToolWindowContainer>
<docking:ToolWindow
x:Name="Projects"
Title="Projects"
ContainerMinSize="200,778"
HasTitleBar="True"
IsFloating="False">
<TextBlock
HorizontalAlignment="Center"
Foreground="Black"
Text="PROJECTS" />
</docking:ToolWindow>
</docking:ToolWindowContainer>
</docking:SplitContainer>
<docking:Workspace x:Name="RhinoContainer">
<Grid
x:Name="AreaRhino"
Margin="0,0,0,0"
Background="{StaticResource BrushBuilderBackground}">
<TextBlock
HorizontalAlignment="Center"
Foreground="Black"
Text="MAIN" />
</Grid>
</docking:Workspace>
<docking:SplitContainer
MinWidth="300"
HorizontalAlignment="Stretch"
Orientation="Vertical">
<docking:ToolWindowContainer>
<docking:ToolWindow
x:Name="Properties"
Title="Properties"
ContainerMinSize="300,150"
HasTitleBar="True">
<TextBlock
HorizontalAlignment="Center"
Foreground="Black"
Text="PROPERTIES" />
</docking:ToolWindow>
</docking:ToolWindowContainer>
<docking:ToolWindowContainer>
<docking:ToolWindow
x:Name="QuickMenu"
Title="Quick Menu"
ContainerMinSize="300,236"
IsFloating="False">
<TextBlock
HorizontalAlignment="Center"
Foreground="Black"
Text="QUICK" />
</docking:ToolWindow>
</docking:ToolWindowContainer>
<docking:ToolWindowContainer>
<docking:ToolWindow
x:Name="Builders"
Title="Builders"
ContainerMinSize="300,697"
HasOptionsButton="True"
HasTitleBar="True"
IsFloating="False">
<TextBlock
HorizontalAlignment="Center"
Foreground="Black"
Text="BUILDERS" />
</docking:ToolWindow>
</docking:ToolWindowContainer>
</docking:SplitContainer>
</docking:SplitContainer>
</docking:DockSite>
</Grid>
</Window>
[Modified 6 years ago]
Jason Stevenson