Fixed Size DockPanels (Q1 2009)?

2 posts, 1 answers
  1. PapaSmurf
    PapaSmurf avatar
    12 posts
    Member since:
    Apr 2005

    Posted 27 Mar 2009 Link to this post

    Hi,

    when using the dockmanger i have 2 panels.

    A
    B

    B must always remain the same height when form resizes.

    Any idea on how to accomplish this?

    Thank you.
  2. Answer
    Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 30 Mar 2009 Link to this post

    Hi BarbaPapa,

    This feature is not supported in the current edition of DockingManager. You can change the size of DockPanel overriding OnSizeChanged in your form:

    protected override void OnSizeChanged(EventArgs e) 
        base.OnSizeChanged(e); 
     
        this.dockPanel1.Size = new Size(200, 200); 

    Do not hesitate to write me back if you have further questions.  

    Best wishes,
    Julian Benkov
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top