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

Title disappearing when panel undocked

1 Answer 27 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Alan Sauls
Top achievements
Rank 1
Alan Sauls asked on 18 Jun 2010, 04:37 PM
I have the following xaml;

 

 

 

<radDock:RadSplitContainer Orientation="Vertical" VerticalAlignment="Top"

 

 

 

x:Name="fundContainer" InitialPosition="DockedLeft" Margin="0,-2,0,0">

 

 

 

 

<radDock:RadPaneGroup x:Name="Group3" >

 

 

 

 

<radDock:RadPane x:Name="fundPane" Header="Fund Titles">

 

 

 

 

<telerikNavigation:RadTreeView x:Name="fundTitles"

 

 

 

HorizontalAlignment="Stretch"

 

 

 

HorizontalContentAlignment="Stretch"

 

 

 

VerticalAlignment="Stretch"

 

 

 

BorderBrush="{x:Null}"

 

 

 

Margin="0,0,0,0"

 

 

 

ItemsSource="{Binding}"

 

 

 

DataContext="{Binding}"

 

 

 

FontSize="11"

 

 

 

Selected="FundTitle_Selected">

 

 

 

 

<telerikNavigation:RadTreeView.ItemTemplate>

 

 

 

 

<DataTemplate>

 

 

 

 

<Grid Width="Auto">

 

 

 

 

<TextBlock Foreground="Black" Text="{Binding}" Width="Auto">

 

 

 

 

<ToolTipService.ToolTip>

 

 

 

 

<ToolTip x:Name="ToolTipText">

 

 

 

 

<TextBlock x:Name="hovertext" Text="{Binding}" Height="Auto" Width="Auto"

 

 

 

FontFamily="Verdana" FontSize="11" TextWrapping="Wrap"/>

 

 

 

 

</ToolTip>

 

 

 

 

</ToolTipService.ToolTip>

 

 

 

 

</TextBlock>

 

 

 

 

</Grid>

 

 

 

 

</DataTemplate>

 

 

 

 

</telerikNavigation:RadTreeView.ItemTemplate>

 

 

 

 

</telerikNavigation:RadTreeView>

 

 

 

 

</radDock:RadPane>

 

 

 

 

</radDock:RadPaneGroup>

 

 

 

 

<radDock:RadPaneGroup x:Name="treeGroup" >

 

 

 

 

<radDock:RadPane x:Name="treePane" Header="XBRL Hierarchy Tree">

 

 

 

 

<local:XBRLHierarchyTree x:Name="xbrlTree" Visibility="Visible" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >

 

 

 

 

<local:XBRLHierarchyTree.Background>

 

 

 

 

<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">

 

 

 

 

<GradientStop Color="White" Offset="0"/>

 

 

 

 

<GradientStop Color="White" Offset="1"/>

 

 

 

 

</LinearGradientBrush>

 

 

 

 

</local:XBRLHierarchyTree.Background>

 

 

 

 

 

 

</local:XBRLHierarchyTree>

 

 

 

 

</radDock:RadPane>

 

 

 

 

</radDock:RadPaneGroup>

 

 

 

 

</radDock:RadSplitContainer>

 


When I undock either panel the Title disappears although the title bar is still present.  I looked at your examples and it looks like this should work.

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 21 Jun 2010, 02:24 PM
Hi Alan Sauls,

Thank you for contacting  us.

I tried the code you provided and it seems everything works fine - a title stays visible when a RadPane is undocked. Could you please tell us which version of the controls you use? It would be of great help if you give us a video capturing the problem.

I will be glad to assist you further.

Best wishes,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Docking
Asked by
Alan Sauls
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or