I
I
Ignatiy22019-11-20 18:27:30
WPF
Ignatiy2, 2019-11-20 18:27:30

How to create a hover command?

For study I use metanit. But it considers the creation of a command that works when clicked, but nothing is said about how to make it work, for example, when you hover the mouse. https://metanit.com/sharp/wpf/7.2.php. Or I don’t understand something and the commands should only work when clicked?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
#
#, 2019-11-20
@mindtester

you in your program? if yes and wpf, see google like this
https://www.google.com/search?q=wpf+mouse+event
if forms - just edit the request
if you want system-wide - in general, you need to create a daemon (in Windows it is customary to call service ) to track mouse events , while filtering objects that are in the foreground. but it's also real

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question