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

DockExtenders

1 Answer 25 Views
Dock
This is a migrated thread and some comments may be shown as answers.
uma
Top achievements
Rank 1
uma asked on 20 Mar 2008, 05:46 AM
could  anyone say how to dock the panel & resize the panel in c#......

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 20 Mar 2008, 02:35 PM
Hi Uma,

To dock the IDockable window like DockPanel you can use SetDock method of DockingManager. After you dock the panel you can resize it with splitter or use Size property of DockPanel object.

 DockPanel dockPanel = new DockPanel();  
 dockPanel.Text = "My Dock Panel";  
 dockingManager1.SetDock(dockPanel, DockPosition.Left);  
 dockPanel.Size = new Size(200, 0); 

I hope this helps with your question. Should you have further questions, don't hesitate to ask us.

Kind regards,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
uma
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or