Skip to content

Do I fail to trigger other mouse events when I press the mouse? #17866

Answered by msneijders
fhhyyp asked this question in Q&A
Discussion options

You must be logged in to vote

Another technique, without releasing the capture, could be to make a custom event; like a ConnectingEnterEvent and a ConnectingExitEvent. And in the PointerMoved of the captured NodeJunctionView you find the underlying NodeJunctionView (find it using InputElement InputHitTest() and raise a ConnectingEnter/ExitEvent on it. That NodeJunctionView can then catch that event, and for instance set a pseudoclass like ":connecting", which you can then use to do some styling on it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@msneijders
Comment options

Answer selected by fhhyyp
@fhhyyp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants