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

Drop ListBoxItem onto docking control

1 Answer 36 Views
Docking
This is a migrated thread and some comments may be shown as answers.
ultramods
Top achievements
Rank 1
ultramods asked on 06 Oct 2010, 08:20 PM
I have been trying to drop a list box item onto the docking control but it will not work, is it possible? I added the drag drop demo example with the 2 lists (all applications and my applications) to my page and this works fine. Next I added the docking demo example (split containers) and added the relevant Drop=true properties etc. What I would like to do is drag widgets and drop from the list onto the dock control. On the drop  a new RadPane would be added to the dock control for the newly added widget.

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 12 Oct 2010, 02:10 PM
Hello,

Yes, it is possible. But it is not an easy task. I would suggest you to use PaneGroupExtensions class in order to implement RadDocking with MVVM pattern. After that, when you drag and drop an item in the RadPaneGroup, you could add it in the PaneGroupExtensions.ItemsSource collection and this creates a new RadPane in the group.

Please, pay attention to that this example shows only the basic idea and it has some limitations - it works only for one RadPaneGroup.

Attached you can find the sample. I hope this helps.

Kind regards,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Docking
Asked by
ultramods
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or