Hi,
I am using version Q3 2011.
1. I have a RadPageViewPage object in which I placed a RadSplitContainer (DockStyle.Fill) with two SplitPanels.
2. Each SplitPanel has Padding property set.
3. In the first SplitPanel I add a control and set its Dock property to Fill the entire content of the panel.
4. In the second SplitPanel instance I add number of controls with their Dock properties set to Top, but the entire SplitPanel's default size is way bigger than the sum of the controls embedded within.
5. I am not using designer, the controls are added programmatically.
Question is: How do I AutoSize both SplitPanel so that the second fits the size of child controls (with set Dock properties to DockStyle.Top) and the first one fill all space that is left?
Best regards,
Mirek
I am using version Q3 2011.
1. I have a RadPageViewPage object in which I placed a RadSplitContainer (DockStyle.Fill) with two SplitPanels.
2. Each SplitPanel has Padding property set.
3. In the first SplitPanel I add a control and set its Dock property to Fill the entire content of the panel.
4. In the second SplitPanel instance I add number of controls with their Dock properties set to Top, but the entire SplitPanel's default size is way bigger than the sum of the controls embedded within.
5. I am not using designer, the controls are added programmatically.
Question is: How do I AutoSize both SplitPanel so that the second fits the size of child controls (with set Dock properties to DockStyle.Top) and the first one fill all space that is left?
Best regards,
Mirek