B
B
baronexp2021-11-10 17:52:56
C++ / C#
baronexp, 2021-11-10 17:52:56

How to get the mouse hold event of an element?

Recently I got interested in Xamarin, I wanted to create my own Slider element (which has a Value property of int), inherited a class from SKCanvasView (and it is already from View).
Everything more or less turned out, except for one thing - when the slider is captured, it moves after the mouse only within the element, if you move the mouse (finger) out of bounds, the element stops responding.
How could you pass mouse coordinates to an element if it is outside of it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question