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

RadDocking RadPaneGroup tab scrolling

7 Answers 185 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Dean Wyant
Top achievements
Rank 1
Dean Wyant asked on 26 Aug 2011, 06:39 PM
How do I get the RadPaneGroup tabs (headers) to allow scrolling instead of shrinking to fit?

When the number of docked panes and their header lengths overflow the container area, the tab area that holds the header text shrinks (width) to show less of the header text.
I believe that by default, the RadTabControl used outside of docking adds right and or left scroll buttons.

I would like docking to do the same. Instead of descreasing the width of the tab headers, I want the scroll button to appear so the tab headers can be scrolled.

I have tried setting the OverflowMode to Scroll, but it has no affect.

Thanks.

7 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 01 Sep 2011, 06:28 AM
Hi Dean,

It works only for RadPaneGroups inside the RadDocking's DocumentHost.

Best wishes,
Pana
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Dean Wyant
Top achievements
Rank 1
answered on 01 Sep 2011, 08:02 PM
Too bad. I would like to see it work within ToolWindows and docked groups also. It looks really bad when the tabs just shrink in size. I add tooltips set to the Binding, but I really need the scroll to make my app look professional.
The problem is really apparent when there are multiple panes in a ToolWindow. I have some tabs as content and it looks terrible when the content tabs get the scroll buttons but the pane tabs do not. It does not seem logical to the observer.
I guess I could try to get rid of the scroll buttons for the content tabs and have them just shrink too. But, that would be a big step backwards. 

Is there a PITS issue for this?
I seems strange that I would be the only one needing this????????????



0
Accepted
Pana
Telerik team
answered on 03 Sep 2011, 08:59 AM
Hi,

When given multiple views people would usually create a menu or toolbar that switches the views in the same tab. Please note that neither VisualStudio nor Blend support scrolling in non document host areas. I have added a PITS item you could vote for. As well as this one is close to your request but only for the menu and not the scrolling.

All the best,
Pana
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
bhargava
Top achievements
Rank 1
answered on 22 Jun 2015, 04:03 PM

HI pana,

I have an issue with the scroll. I am using OOB mode of silverlight . 

 

This is my XMAL

  <telerik:RadDocking AllowDragReorder="False" CloseButtonPosition="InPane">
        <telerik:RadDocking.DocumentHost>
            <telerik:RadSplitContainer>
                <telerik:RadPaneGroup x:Name="radPaneGroupWorkspace" TabStripPlacement="Top" OverflowMode="Scroll" ScrollViewer.HorizontalScrollBarVisibility="Auto">

                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
        </telerik:RadDocking.DocumentHost>
    </telerik:RadDocking>

 

I am adding a delay of 5 sec when opening the view to show the close button. When I open the last view for scroll bar to appear it works fine ( horizontal scroll bar). but I cant see the close button . Is there any property is have to add. I know I am adding the delay so that user cant close the view until it is fully loaded. I have attached an image for ref. 

 Thanks,

Bhargava 

0
Vladi
Telerik team
answered on 25 Jun 2015, 12:28 PM
Hi Bhargava,

We are not sure we understand you correctly.

What do you mean that there is a 5 second delay when opening the a view to show the close button. Do you mean that by default you have set the CanUserClose property of all RadPane instances to False and you have added a 5 seconds timer which toggles the CanUserClose to True?

By design in the RadDocking control when a RadPane instances are placed inside the DocumentHost it is possible to customize the way the close button is positioned by setting the CloseButtonPosition of the control. This property can be set to InGroup, InPane and InPaneAndGroup. The only value that would cause the close button of the group to be removed is the InPane value. Is the CloseButtonPosition changed in your project.

Regards,
Vladi
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
bhargava
Top achievements
Rank 1
answered on 25 Jun 2015, 03:39 PM

Hi Vladi,

I am adding a 5 sec delay in order for the view to fully load so that the close button appears . But, for some views which are heavily data driven we are adding a delay so that I cannot close it before it fully loads.

 

 My problem:When I open a view which is the last view before the scroll bar appears (ScrollViewer.HorizontalScrollBarVisibility="Auto"), the close button is not visible as I am adding a delay. Is there any flag which I can use which indicates that I have reached the end of the horizonatlscroll for the scrollbar to become visible. 

Thanks,Bhargava 

0
Vladi
Telerik team
answered on 26 Jun 2015, 11:07 AM
Hello Bhargava,

We are still unsure what exactly the scenario and the related issue in your project is. Could you try to isolate the issue in a sample project and send it to us in a new support thread. This will help us observe the disused behavior on our side and further research it.

In the .NET Framework when setting the ScrollViewer.HorizontalScrollBarVisibility of a ScrollViewer to Auto the framework does not provide a suitable event or a status property which could easily be used to determine when the HorizontalScroll is shown or not.

Regards,
Vladi
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Docking
Asked by
Dean Wyant
Top achievements
Rank 1
Answers by
Pana
Telerik team
Dean Wyant
Top achievements
Rank 1
bhargava
Top achievements
Rank 1
Vladi
Telerik team
Share this question
or