سؤال

Is there any way that I can show a window only when a pen/tablet is in use, just like the windows tablet PC input panel is only shown when a pen/tablet is used (and not just connected)?

هل كانت مفيدة؟

المحلول

You can handle or set a trigger for the UIElement.StylusInRange event to make your control visible. (Conversely there is a StylusOutOfRange event which you might need for hiding)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top