Docking Forms?

2 posts, 0 answers
  1. RickAdair
    RickAdair avatar
    1 posts
    Member since:
    Feb 2007

    Posted 01 Feb 2007 Link to this post

    Is it possible to dock form objects. I have implemented the IDockable interface for my form and still receive an error that the top-level control cannot be added.

    Thanks,
    Rick
  2. Chris
    Admin
    Chris avatar
    221 posts

    Posted 02 Feb 2007 Link to this post

    Hello Rick,

    Yes, it is possible. You can use UserDockForm directly or you can inherit from it.
    You can also use another approach - you can implement the IDockable interface and then write the following code in the constructor:

    this.TopLevel = false;

    this.FormBorderStyle = FormBorderStyle.None;


    Sincerely yours,
    Chris
    the telerik team
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top