Unplanned
Last Updated: 30 Mar 2016 13:12 by ADMIN
ADMIN
Julian Benkov
Created on: 26 Jul 2011 04:38
Category: SplitContainer
Type: Bug Report
2
FIX. RadSplitContainer - resize problem by AutoScroll
If the AutoScroll of RadSplitContainer is true and I scroll the container a little, don’t work the resizes of the panels.

sample code:

public Form1()
    {
        InitializeComponent();
 
        RadSplitContainer radSplitContainer1 = new RadSplitContainer()
        {
            Dock = DockStyle.Fill,
            AutoScroll = true
        };
 
        this.Controls.Add(radSplitContainer1);
 
        for (int i = 0; i < 10; i++)
        {
            var panel = new SplitPanel();
            panel.SizeInfo.SizeMode = SplitPanelSizeMode.Absolute;
            panel.SizeInfo.AbsoluteSize = new Size(100, 0);
            radSplitContainer1.SplitPanels.Add(panel);
        }
    }
0 comments