Question on custom panels

2 posts, 0 answers
  1. Alex Peachey
    Alex Peachey avatar
    56 posts
    Member since:
    May 2006

    Posted 18 Dec 2007 Link to this post

    I was browsing through the new documentation today and noticed something I thought I better get clarification on. In the documentation for Q3 it says that when creating custom dock objects you can either derive from UserDockControl or UserDockForm. In previous versions I was deriving from DockPanel.

    What I have still works with my newly installed Q3 but I wonder if I should be changing all of those controls from DockPanel to UserDockControl.

    What is the difference? Do I gain anything one way or the other?
  2. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 19 Dec 2007 Link to this post

    Hello Alex Peachey,

    Thank you for writing.

    There is no the general difference between DockPanel and UserDockConrol. The only difference between the two is in the base class: DockPanel inherits from Panel, while UserDockControl inherits from UserControl.

    Your approach is correct, and you can continue to use your current application design.

    I hope this was helpful. If you have any further questions, please contact us.

    Sincerely yours,
    Julian Benkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft R3 2016 release webinar banner
Back to Top