Unplanned
Last Updated: 15 Jul 2022 14:54 by Al

It can be scrolled at design time in .NET Framework, but not in .NET 6:

Unplanned
Last Updated: 05 Nov 2020 16:22 by ADMIN

1. Add RadScrollablePanel

2. Add RadGroupBox inside the scrollable panel

3. The group box's shadow is missing

Declined
Last Updated: 27 Feb 2020 09:28 by ADMIN

Please run the attached sample project.


        private void RadForm1_Load(object sender, EventArgs e)
        {
            RadScrollablePanel panel = new RadScrollablePanel() { Dock = DockStyle.Fill };
            panel.BackColor = Color.Yellow;
            this.Controls.Add(panel);
            for (int i = 0; i < 5; i++)
            {
                panel.Controls.Add(new UserControl1() { Dock = DockStyle.Right, BackColor = Color.Red });
              //  panel.Controls.Add(new UserControl1() { Dock = DockStyle.Bottom, BackColor = Color.Red });

            }
        }

When the RadSplitConatiner is wide enough, the horizontal scrollbar is not shown as expected:

If you shrink the form, the horizontal scrollbar is still not shown:

However, if you dock to Left, the scrollbar is displayed:

Unplanned
Last Updated: 14 Feb 2020 13:37 by ADMIN

Please use the following code:

 this.radPanel1.EnableGesture(GestureType.All);
            this.radPanel1.PanGesture += radScrollablePanel1_PanGesture; 

        private void radScrollablePanel1_PanGesture(object sender, PanGestureEventArgs e)
        {

        }

Add several controls in the scrollable panel so the horizontal/vertical scrollbar is shown. If you enable all gestures and try to pan in order to scroll to the added controls, neither the PanGesture event is fired, nor the scrollbar is move.