Pre loader

How can I tell how the user is dragging the LineAnnotation?

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

I need to know if the user is dragging the entire line annotation or just dragging one end.
If the user is dragging the entire line, I see this cursor:
enter image description here

If the user is dragging just one end, I see the hand cursor:
enter image description here

How can I detect this from the code behind?

I have looked at all of the properties and commands.

Thanks,
-Robert

Version
5.4.0.12119
  • Robert Zeff
    My trial has expired, but I did purchase the package just before adding the above post.
  • You must to post comments
0
0

Hi Robert,

Thanks for your question.

The DragStarted, DragEnded, DragDelta events occur when an Annotation is being dragged by a user.

You can also subscribe to Thumb.DragStarted, DragDelta, DragCompleted events. These will signal the resize action when a user is resizing using the Resize Grips.

You can also create a new feature request if you wish specific resize events to be added and let people vote for this. Here is how to do it:
https://www.youtube.com/watch?v=cWa6bRCCAFE

Hope this helps.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies