detecting (in code) compass highlighting (VisualCue appearence)

2 posts, 0 answers
  1. Mar
    Mar avatar
    7 posts
    Member since:
    Mar 2015

    Posted 13 May 2015 Link to this post

    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!


  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 15 May 2015 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top