Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > SplitContainer > splitpanel size

Not answered splitpanel size

Feed from this thread
  • ricric avatar

    Posted on Apr 15, 2011 (permalink)

    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?

    Reply

  • Ivan Petrov Ivan Petrov admin's avatar

    Posted on Apr 20, 2011 (permalink)

    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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > SplitContainer > splitpanel size