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

detecting (in code) compass highlighting (VisualCue appearence)

1 Answer 32 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Mar
Top achievements
Rank 1
Mar asked on 13 May 2015, 10:56 PM
Hi,

I want to detect when compass is highlighted (means the mouse is over the compass while dragging a pane/ToolWindow).
In addition, I want to invoke the compass to appear, be highlighted and responding to drag-and-drop of non-dockable UIElement (let'a say ListBoxItem).
Can I highlight what part of the compass (and the compatible VisualCue) from code?

I tried to call OnDragContainer and OnDropContainer in implementation of RadDocking derived class (by events like MouseMove and MouseLostCapture events),
but for no avail because the VisualCue and the compass are just stuck as if I didn't call the OnDropContainer method.
The sample can be found here (DockingDragDropWithListBoxWPF.zip):
http://www.telerik.com/support/code-library/how-to-enable-drag-and-drop-from-radlistbox-to-raddocking-controls



Big thanks for your time!


1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 15 May 2015, 01:38 PM
Hello,

The provided sample project from the code library that you mentioned currently has known issues which are mentioned in the thread's comments.

We are aware of the those limitations and have added an feedback item for an improved version of the sample project here. The current version of the RadDocking control does not provide an built-in feature which could be used in order to achieve the described drag and drop from out side source into the control. By design the control's compasses are encapsulated and manually triggering them is not possible via the public APIs. As we see this part of the control's API could be improved we will discuss it with the development team in order to provide a better and easy to use public API for achieving the discussed scenarios.

Regards,
Vladi
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Docking
Asked by
Mar
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or