Replies: 1 comment
-
I have written this derived class, redefining the mouse event handlers with slightly modified code.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At the moment, the position changes passed to the DragDelta event are computed from positions relative to the Thumb itself. This is problematic because the event handlers will typically move the Thumb in response, making the delta values erratic.
How about being able to specify a FrameworkElement (typically one would pass the parent of the thumb) relative to which the positions are retrieved before being used to compute deltas? By default, that FE would be the Thumb itself, to achieve backwards compatibility.
Beta Was this translation helpful? Give feedback.
All reactions