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

Fixed Size DockPanels (Q1 2009)?

1 Answer 56 Views
Dock
This is a migrated thread and some comments may be shown as answers.
PapaSmurf
Top achievements
Rank 2
PapaSmurf asked on 27 Mar 2009, 03:44 PM
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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Julian Benkov
Telerik team
answered on 30 Mar 2009, 09:11 AM
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.
Tags
Dock
Asked by
PapaSmurf
Top achievements
Rank 2
Answers by
Julian Benkov
Telerik team
Share this question
or