splitpanel size

2 posts, 0 answers
  1. ricric
    ricric avatar
    12 posts
    Member since:
    Sep 2010

    Posted 15 Apr 2011 Link to this post

    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?
  2. Ivan Petrov
    Ivan Petrov avatar
    701 posts

    Posted 20 Apr 2011 Link to this post

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top