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

Question on custom panels

1 Answer 22 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Alex Peachey
Top achievements
Rank 1
Alex Peachey asked on 19 Dec 2007, 02:00 AM
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?

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 19 Dec 2007, 09:31 AM
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
Tags
Dock
Asked by
Alex Peachey
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or