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

RadDocking, DocumentHost and OverflowMode not working

3 Answers 170 Views
Docking
This is a migrated thread and some comments may be shown as answers.
WILLIAM
Top achievements
Rank 1
WILLIAM asked on 16 Nov 2011, 10:09 PM
I am using Telerik's Silverlight Control suite to build a tabbed view. I'm using the RadDocking control, and specifically the DocumentHost to contain a RadPaneGroup. My problem is that the RadPane inside of this RadPaneGroup scaling the tab label (where the text is), rather than showing the tab label at it's full width. This happens when the RadPaneGroup is made small enough (horizontally), to the point that all the tab labels no longer fit across. My preference in this case would be to have the tab labels remain at their maximum width, and see the tab labels scroll instead. I've see a few references to this behavior, and the solution seems to bemake the OverflowMode="Scroll". I've done this (see attached XAML snippet), to no avail. Am I missing something?
Thanks for any help.

    <Grid x:Name="LayoutRoot" Background="White">
        <telerikDocking:RadDocking Name="uxRadDocking" Grid.Row="0">
            <telerikDocking:RadDocking.DocumentHost>
                <telerikDocking:RadSplitContainer>
                    <telerikDocking:RadPaneGroup Name="uxMainTabs" ScrollMode="Item" OverflowMode="Scroll"/>
                </telerikDocking:RadSplitContainer>
            </telerikDocking:RadDocking.DocumentHost>
            <telerikDocking:RadSplitContainer InitialPosition="DockedBottom" Height="100">
                <telerikDocking:RadPaneGroup Name="uxValidation"/>
            </telerikDocking:RadSplitContainer>
            <telerikDocking:RadSplitContainer InitialPosition="DockedTop" Height="60">
                <telerikDocking:RadPaneGroup Name="uxHeader"/>
            </telerikDocking:RadSplitContainer>
            <telerikDocking:RadSplitContainer InitialPosition="DockedRight" >
                <telerikDocking:RadPaneGroup Name="uxFlyOut"/>
            </telerikDocking:RadSplitContainer>
        </telerikDocking:RadDocking>
    </Grid>
</UserControl>

3 Answers, 1 is accepted

Sort by
0
Chuck
Top achievements
Rank 1
answered on 16 Nov 2011, 10:12 PM
I've seen this same behavior. I've also been through all the samples, and they seem to all behave this way. I'm interested in what you find out.
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 21 Nov 2011, 09:43 AM
Hi Everybody,

You need to set the ScrollViewer.HorizontalScrollBarVisibility to Auto to the PaneGroup to enable this behavior. It is switched off by default.

Hope this helps.

Regards,
Miroslav Nedyalkov
the Telerik team

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

0
WILLIAM
Top achievements
Rank 1
answered on 21 Nov 2011, 02:31 PM
That did the trick, thanks.
Tags
Docking
Asked by
WILLIAM
Top achievements
Rank 1
Answers by
Chuck
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
WILLIAM
Top achievements
Rank 1
Share this question
or