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

splitpanel size

1 Answer 219 Views
SplitContainer
This is a migrated thread and some comments may be shown as answers.
ricric
Top achievements
Rank 1
ricric asked on 16 Apr 2011, 04:53 AM
hi..
i use splitcontainer and i divide it into horizontal, how can i fix the top splitpanel size and the bottom can be flexibel according to the max form size?

1 Answer, 1 is accepted

Sort by
0
Ivan Petrov
Telerik team
answered on 20 Apr 2011, 11:50 AM
Hi ricric,

Thank you for writing.

To achieve a fixed size split panel, you can use the following code snippet:

this.splitPanel1.SizeInfo.SizeMode = SplitPanelSizeMode.Absolute;
this.splitPanel1.SizeInfo.MinimumSize = this.splitPanel1.SizeInfo.MaximumSize = new Size(0,200);

I hope this will help you. If you have further questions, feel free to ask.

Kind regards,
Ivan Petrov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
SplitContainer
Asked by
ricric
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Share this question
or