Disable sizing the SplitContainer at runtime

4 posts, 1 answers
  1. Akhil
    Akhil avatar
    38 posts
    Member since:
    Jul 2010

    Posted 12 Apr 2011 Link to this post

    Hi,

    I have tried a splitontainer. And when I run the project, it can be sized at runtime too !

    How can we disable resizing at runtime ?

  2. Akhil
    Akhil avatar
    38 posts
    Member since:
    Jul 2010

    Posted 14 Apr 2011 Link to this post

    Any solutions ?
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Answer
    Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 15 Apr 2011 Link to this post

    Hi Akhil,

    Thank you for writing.

    The semantic of this control is to give the end-user the opportunity to resize SplitPanels contained in RadSplitContainer. I will suggest using RadPanel when you need a control that does not allow resizing. You can add as many panels as you need to make the desired layout. This way the users will not be able to resize the panels.

    However, if you want to go with RadSplitContainer, you should hide the splitters. Here is how you can do this:

    radSplitContainer1.SplitterWidth = 0;

    I hope the provided information addresses your questions, should you have any other questions, do not hesitate to contact us.
     
    Kind regards,
    Stefan
    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
  5. Akhil
    Akhil avatar
    38 posts
    Member since:
    Jul 2010

    Posted 15 Apr 2011 Link to this post

    Thanks.

    That works :)

    If it is intended to be resized at runtime, then what other control can be used ? I have checked Panels. But adding rows and columns is easy in SplitContainer !

Back to Top