I want to be able to detect if I have a pen close to the screen or not.
I would like for example to show a different appbar if I open it with a pen.
Also I would like to show other things on the screen when I hold a pen close to it (not necessarily touching it).
/Jimmy
When a pen or finger is near the screen, you will get a
PointerEnteredevent. ThePointerPressedevent fires when the pen or finger makes contact. If the hardware does not support proximity, then thePointerEntereddoes not fire until contact is made, and it will be followed immediately by aPointerPressed.