OverflowMode="Scroll" disappears when I Save/Load layout

3 posts, 0 answers
  1. B
    B avatar
    74 posts
    Member since:
    Jul 2011

    Posted 18 Mar 2015 Link to this post

    When I use the following xaml:

    <telerik:RadDocking.DocumentHost>
        <telerik:RadSplitContainer x:Name="mainDock">
            <telerik:RadPaneGroup x:Name="GroupMain"
                                  ScrollMode="Item"
                                  OverflowMode="Scroll"
                                  ScrollViewer.HorizontalScrollBarVisibility="Auto"
                                  cal:RegionManager.RegionName="main" />
        </telerik:RadSplitContainer>
    </telerik:RadDocking.DocumentHost>

    And then SaveLayout/LoadLayout the OverflowMode="Scroll" has disappeared.

    When I use the following xaml:
    <telerik:RadSplitContainer telerik:DockingPanel.InitialSize="450,450"
                               Name="LeftContainer" 
                               InitialPosition="DockedLeft"
                               Orientation="Horizontal">
        <telerik:RadPaneGroup x:Name="GroupTree"
                              ScrollMode="Item"
                              OverflowMode="Scroll"
                              ScrollViewer.HorizontalScrollBarVisibility="Auto"
                              cal:RegionManager.RegionName="index"
                              telerik:ProportionalStackPanel.RelativeSize="150, 200" />
    </telerik:RadSplitContainer>

    The OverflowMode has no effect at all, even before I use SaveLayout/LoadLayout

    Is there a way to make layout save/load preserve the overflowmode?

    Is there a way to get overflowmode working for a RadPaneGroup that is in another place then DocumentHost?
  2. B
    B avatar
    74 posts
    Member since:
    Jul 2011

    Posted 20 Mar 2015 in reply to B Link to this post

    I tried to restore the OverflowMode for the RadPaneGroup in the DocumentHost using code behind, but I can't get that to work:

    GroupMain.OverflowMode = Telerik.Windows.Controls.TabControl.TabOverflowMode.Scroll;
    GroupMain.SetValue(ScrollViewer.HorizontalScrollBarVisibilityProperty, ScrollBarVisibility.Auto);
    GroupMain.ScrollMode = TabControlScrollMode.Item;

    Which I don't understand, that should work?
  3. DevCraft banner
  4. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 20 Mar 2015 Link to this post

    Hello,

    In the current version of the RadDocking control the OverflowMode property is not supported. This property is visible because of inheritance between the RadPaneGroup and RadTabControl classes but it is not supported and setting it to one of its two enumeration values will not change the behavior of the group. This is why the OverflowMode is not persisted and saved by the SaveLayout functionality of the control.

    You can use our feedback portal in order to log this as a feature request for the RadDocking control. The feedback portal is a public portal in which you can log and track the status of any feature request, bug report or general feedback that our staff and our community have logged.

    Regards,
    Vladi
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top