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

How to set fixed size for a RadDocumentWindow

1 Answer 130 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Ananthan
Top achievements
Rank 1
Ananthan asked on 20 Apr 2013, 03:26 AM
Hi,

I had created a dock and it have three documentWindows
I want to set a fixed size for documentWindow1 so that its size did not change even if i had changed the size of my main window.
Is it possible to set fixed height and width separately ?

1 Answer, 1 is accepted

Sort by
0
Anton
Telerik team
answered on 25 Apr 2013, 05:21 AM
Hello Ananthan,

Thank you for writing.

You cannot control both dimensions (width and high) together of RadDocumentWindow independently from the size of RadDock. By design RadDock arranges windows according their DockState and ignores their set size if they are not in split panel with windows from same type. So RadDock manages the size of the docked RadDocumentWindow and there is not suitable way to change that behavior.

Attached demo demonstrates several possible scenarios with partial success because you can control only one dimension - width or high

You can find more information in the following online article : http://www.telerik.com/help/winforms/dock-object-model-example-building-an-advanced-layout-at-runtime.html

I hope this information helps.

Greetings,
Anton
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Tags
Dock
Asked by
Ananthan
Top achievements
Rank 1
Answers by
Anton
Telerik team
Share this question
or