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

Making a split panel a spliter

2 Answers 127 Views
SplitContainer
This is a migrated thread and some comments may be shown as answers.
Adiel
Top achievements
Rank 1
Adiel asked on 02 Sep 2012, 09:55 AM
Hi,

I would like to have three split panels in a split container, where I will be able to move the middle split panel as if it was a spliter , i.e. the middle split panel has a fixed size and moving it up or down, changes the size of the top and bottom split panels. The reason that I want to work this way, is that I want to added controllers to the middle split container ,such as drop down combo box.
How can this be done?

Thanks
Meir

2 Answers, 1 is accepted

Sort by
0
Accepted
Nikolay
Telerik team
answered on 05 Sep 2012, 04:04 PM
Hello Meir,

Thank you for the question.

RadSplitContainer does not support the desired behavior and layout out of the box. However, you can achieve your goal with the help of two RadSplitContainers, MouseDown and MouseUp of the panel that should keep its size constant and some calculations. I am attaching a sample project which demonstates the approach. Feel free to modify it according to your specific needs.

I hope this helps.

Greetings,
Nikolay
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Adiel
Top achievements
Rank 1
answered on 14 Jan 2013, 04:27 PM
Yes, it did help. Thank you very much.
Tags
SplitContainer
Asked by
Adiel
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Adiel
Top achievements
Rank 1
Share this question
or