Last Updated: 01 Nov 2017 13:06 by ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 31 Aug 2016 11:40
Category: SplitContainer
Type: Bug Report
FIX. RadSplitContainer - incorrect collapsing when changing the Direction in the PanelCollapsing event
Please refer to the attached sample project. Double click the middle splitter in the horizontal split container.

Workaround: manually collapse the desired split panel:

private void Form1_Load(object sender, EventArgs e)
    this.radSplitContainer3.PanelCollapsing += radSplitContainer3_PanelCollapsing;
    foreach (SplitterElement s in this.radSplitContainer3.Splitters)
        s.DoubleClick += s_DoubleClick;

private void s_DoubleClick(object sender, EventArgs e)
    SplitterElement s = sender as SplitterElement;
    ((SplitPanel)s.RightNode).Collapsed = true;
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)