This is a migrated thread and some comments may be shown as answers.

RadPane on the top of RadDocking

1 Answer 119 Views
Docking
This is a migrated thread and some comments may be shown as answers.
deepak
Top achievements
Rank 1
deepak asked on 11 Jun 2012, 05:30 AM
Hi all
in the current q1 sp1, RadPanes are inside the docking if docking has a smaller width. this was not a problem in the previous q1 release. please use the following code to generate the error.  I am also attaching the screen shot.
<Window x:Class="RadControlsWpfApp3.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                Title="MainWindow" Height="350" Width="525">
        <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
            <telerik:RadDocking AllowUnsafeMode="True" >
            <telerik:RadSplitContainer Orientation="Vertical">
                <telerik:RadPaneGroup>
                    <telerik:RadPane Header="1" IsPinned="False"></telerik:RadPane>
                </telerik:RadPaneGroup>
                <telerik:RadPaneGroup>
                    <telerik:RadPane Header="2" IsPinned="False"></telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
        </telerik:RadDocking>
    </Grid>
</Window>

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 13 Jun 2012, 11:56 AM
Hello deepak,

Although it looks like an issue, actually the behavior is expected. We have fixed an issue in Q1 SP and since then the unpined Panes can not go beyond RadDocking layout, which should be the correct behavior. So in this case the width of the RadDocking is constrained by the width of the Grid's column and therefore the unpined Pane is smaller. 
I am not sure about the layout of your application, but it seems like you can use DocumentHost and achieve the same thing. In the attached project you can see how to implement that. What I have basically done is:
  •  Set Visibility="Collapsed" CanUserClose="False" to the RadPane into the DocumentHost.
  •  Delete the 3 borders into the PaneGroup_DocumentFrameTemplate - BorderLayer1, BorderLayer2, BorderLayer3
Hope this will help.

All the best,
Georgi
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Docking
Asked by
deepak
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or