Unplanned
Last Updated: 20 Feb 2018 16:06 by ADMIN
ADMIN
Created by: Dilyan Traykov
Comments: 0
Category: Docking
Type: Bug Report
1

			
Unplanned
Last Updated: 03 Jan 2017 21:19 by ADMIN
Unplanned
Last Updated: 03 Jan 2017 20:54 by ADMIN
This happens when the resizer is moved to max right (for example) and then the orientation is changed. 
Unplanned
Last Updated: 03 Aug 2016 12:47 by ADMIN
Unplanned
Last Updated: 03 Aug 2016 12:47 by ADMIN
When using the UnpinAllPanes/PinAllPanes methods of a RadPaneGroup inside the Pin/Unpin events only the clicked RadPane is pinned/unpinned. If a Dispatcher is added all the RadPane instances are pinned/unpinned but after multiple pins/unpins sometimes the unpinned RadPane Headers become selected and the AutoHideArea is not longer expanded.
Unplanned
Last Updated: 03 Aug 2016 12:46 by B
I would like OverflowMode to work for all RadPaneGroup in xaml/codebehind and this be persisted through SaveLayout/LoadLayout.

For example:

<telerik:RadDocking.DocumentHost>
    <telerik:RadSplitContainer x:Name="MainContainer"
                                           Orientation="Vertical">
					<telerik:RadPaneGroup ScrollMode="Item"
                                          x:Name="GroupMainTop"
                                          OverflowMode="Scroll"
                                          ScrollViewer.HorizontalScrollBarVisibility="Auto"
                                          cal:RegionManager.RegionName="RegionMainTop"
                                          telerik:ProportionalStackPanel.RelativeSize="150, 400" />

Works, but when I do:

        private void LoadLayoutInternal(XElement xml)
        {
            using (MemoryStream stream = new MemoryStream())
            {
                xml.Save(stream);
                stream.Seek(0, SeekOrigin.Begin);
                this.Docking.LoadLayout(stream);
            }
            Dispatcher.BeginInvoke(() => FixDockProperties());
        }

The RadPaneGroup no longer has OverFlowMode Scroll

When I try to fix this in code behind, this has no effect:

        private void FixDockProperties()
        {
            // Fix diverse properties die door laden van de layout verloren zijn gegaan.
            // Dat lijkt niet te werken, ik heb Telerik gevraagd waarom dat is:
            // http://www.telerik.com/forums/overflowmode=-scroll-disappears-when-i-save-load-layout#mwEJP5eh8EG4TbNqfnd00g
            GroupMainTop.OverflowMode = Telerik.Windows.Controls.TabControl.TabOverflowMode.Scroll;
            GroupMainTop.SetValue(ScrollViewer.HorizontalScrollBarVisibilityProperty, ScrollBarVisibility.Auto);
            GroupMainTop.ScrollMode = TabControlScrollMode.Item;