Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

Tablet keyboard problem in WPF app due to automation.

$
0
0

Redirected from wpf forum to here.

With deleted automation for window via OnCreateAutomationPeer() keyboard on tablet is auto hiding after showing in half cases.

In msdn: UI Automation is the mechanism through which developers communicate whether or not a particular UI element can receive text input. For Windows-provided controls, this will be done automatically because proper accessibility properties are set by default, but for custom controls and experiences you must do additional work to set the accessibility properties correctly; remember that the touch keyboard reacts to these properties. 

The touch keyboard determines whether a focused UI element is intended for text entry by checking to see whether it has a UIA TextPattern (or a TextChildPattern) control pattern and is editable. If a focused element fails to satisfy either of those conditions, the touch keyboard does not show itself and hides itself if it was showing.

So how delete automation (is requirement) without creating this bug?

Thanks.


Viewing all articles
Browse latest Browse all 585


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>