UWP - How to detect if the option "Show the touch keyboard when not in tablet mode and there's no keyboard attached" on or off in Settings from my app.

Bui Bao Chau 21 Reputation points
2020-06-18T08:42:04.463+00:00

Hello,

 I want to detect if the option "Show the touch keyboard when not in tablet mode and there's no keyboard attached" on or off in Settings->Typing.
 Is there any way or API which could help me to do that?

Thanks.

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. Richard Zhang-MSFT 6,936 Reputation points
    2020-06-18T11:33:53.957+00:00

    Hello,

    Welcome to Microsoft Q&A.

    Currently UWP does not provide related APIs to detect the setting item "Show the touch keyboard when not in tablet mode and there's no keyboard attached".

    If you need users to open related options, you can try to evoke the setting application await Launcher.LaunchUriAsync(new Uri("ms-settings:typing"));

    Thanks.


0 additional answers

Sort by: Most helpful