2 posts, 0 answers
  1. uma
    uma avatar
    1 posts
    Member since:
    Mar 2008

    Posted 20 Mar 2008 Link to this post

    could  anyone say how to dock the panel & resize the panel in c#......
  2. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 20 Mar 2008 Link to this post

    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
Back to Top