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

4 posts, 0 answers
  1. Ryan
    Ryan avatar
    8 posts
    Member since:
    Jul 2012

    Posted 18 Sep 2008 Link to this post

    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

  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 19 Sep 2008 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Perry
    Perry avatar
    19 posts
    Member since:
    Jan 2008

    Posted 26 Sep 2008 Link to this post

    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.
  5. Ryan
    Ryan avatar
    8 posts
    Member since:
    Jul 2012
Back to Top