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

Setting the size of a DockPanel in a docked state at runtime

3 Answers 69 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 18 Sep 2008, 06:13 PM

How do I set the Size of a DockPanel in a docked state at runtime?  Here's my simple code.

panel = new Telerik.WinControls.Docking.DockPanel();

panel.DockState = DockState.Docked;
panel.Size = new Size(250, 250);

For some reason the Size is not set.  It just remains the same.

Thanks,
Ryan

3 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 19 Sep 2008, 04:19 PM
Hello Ryan,

We have addressed your question in your other post. Please, avoid double-posting, as this slows us down when responding to all tickets.
 

All the best,
Julian Benkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Perry
Top achievements
Rank 1
answered on 26 Sep 2008, 07:46 PM
It's great that you answered his question elsewhere, but it would be great to provide a pointer, link or the repeated answer.

I have the same issue.
0
Ryan
Top achievements
Rank 1
answered on 26 Sep 2008, 07:54 PM
Tags
Dock
Asked by
Ryan
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Perry
Top achievements
Rank 1
Ryan
Top achievements
Rank 1
Share this question
or