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

RadPaneGroup does not respect OverflowMode = Wrap or Scroll

3 Answers 120 Views
Docking
This is a migrated thread and some comments may be shown as answers.
David Schulz
Top achievements
Rank 1
David Schulz asked on 26 Mar 2010, 02:55 AM
The radpanegroup has an option, OverflowMode, which derives from the tabcontrol.  This property, when set, does nothing.  I would expect that it would behave as the tabcontrol does.  When a radpanegroup has too many radpanes, the radpanes just start getting smaller and smaller.  Is there a workaround for this?  We really need the ability to have the tabs wrap to a new line.  I looked at the template for the documenthost and tried to replace the ItemPresenterElement with a WrapPanel but it did not work.  Any suggestions?

3 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 26 Mar 2010, 10:03 AM
Hello David Schulz,

We have implemented a VisualStudio like scroll and drop down menu. I think that solution would work for you. It's not yet released to the public but will be available soon.

Thank you for your interest in our controls.

All the best,
Panayot
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.
0
Muhammad
Top achievements
Rank 1
answered on 31 Jul 2013, 03:13 PM
Hello Panayot,
                       I am working on the same behaviour of tabs in docking to be wraped when the the overflowmmode has been set to wrap. For scrolling it is working but I need tabs to be wrapped. I have seen the template for the control and it is using ItemsPresenter for tabs header. I am not sure if I could make them wrap able. Alternately if telerik has fixed this issue then let me know or Is it still missing  with the functionality or I need to set some more properties in this respect. Can you please suggest in this regard thanks.

Saqib.
0
Pana
Telerik team
answered on 06 Aug 2013, 06:21 AM
Hello,

The RadDocking's RadPaneGroup inherits from a RadTabControl but overrides the ItemsPaneltemplate. You can simply set the template in implicit style for RadPaneGroup in the app.xaml like that:

            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            x:Class="RadDocking_SL.App"
            xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
            xmlns:telerikNavigationPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls.Navigation">
    <Application.Resources>
        <Style TargetType="telerik:RadPaneGroup">
            <Setter Property="ItemsPanel">
                <Setter.Value>
                    <ItemsPanelTemplate>
                        <telerikNavigationPrimitives:TabWrapPanel />
                    </ItemsPanelTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Application.Resources>
</Application>

And the panes will wrap.

Should you have further problems do not hesitate to contact us again.

Regards,
Pana
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Docking
Asked by
David Schulz
Top achievements
Rank 1
Answers by
Pana
Telerik team
Muhammad
Top achievements
Rank 1
Share this question
or