This question is locked. New answers and comments are not allowed.
I am playing (learning) the RadDock control and I noticed some funny behaviour...
I have a pretty simple UserControl defined as follows. It is just a rectangle with a green border so I can see if elements are stretching properly. I have created several of these controls with different colors for my testing.
| <UserControl x:Class="RadDocking.pnl_Indicators" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | |
| <Border BorderBrush="Green" Background="PaleTurquoise" BorderThickness="2"> | |
| <TextBlock Text="Indicators Panel" FontSize="20" /> | |
| </Border> | |
| </UserControl> |
When I load these controls into a RadDock control, they appear fine when inside the DocumentHost. They also appear fine when they are in floating windows. However, when in a tabbed document, the bottom border is cutoff. Here is a link to a picture showing the problem.... http://www.robertstraume.com/RadDockBug.jpg
Here is the full code for the RadDock control... I'm not doing anything out of the ordinary as far as I can tell...
| <UserControl x:Class="RadDocking.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:RadDocking" xmlns:TC="clr- namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" | |
| xmlns:TC_Docking="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking"> | |
| <Grid> | |
| <TC_Docking:RadDocking> | |
| <TC_Docking:RadDocking.DocumentHost> | |
| <local:pnl_Worksheet /> | |
| </TC_Docking:RadDocking.DocumentHost> | |
| <TC_Docking:RadSplitContainer InitialPosition="DockedBottom"> | |
| <TC_Docking:RadPaneGroup> | |
| <TC_Docking:RadPane Header="pnl_Profile" CanDockInDocumentHost="False"> | |
| <local:pnl_Profile /> | |
| </TC_Docking:RadPane> | |
| <TC_Docking:RadPane Header="pnl_Indicators" CanDockInDocumentHost="False"> | |
| <local:pnl_Indicators /> | |
| </TC_Docking:RadPane> | |
| <TC_Docking:RadPane Header="pnl_Annotations" CanDockInDocumentHost="False"> | |
| <local:pnl_Annotations /> | |
| </TC_Docking:RadPane> | |
| </TC_Docking:RadPaneGroup> | |
| </TC_Docking:RadSplitContainer> | |
| </TC_Docking:RadDocking> | |
| </Grid> | |
| </UserControl> |