简体   繁体   中英

Change color of visual keyboard in C#

Is there a way to change the visual keyboard-theme via C#? Or at least, some way to edit its properties, like background color etc?

除了InputScope (仅用于打开数字键盘等)和覆盖按键之外,当前无法更改可视Windows Phone键盘的任何部分。

Nope, this is one of those things that cannot be changed by third party applications short of various hacks (which would not be allowed in the marketplace). In general if something is controlled by a user setting then an application will have no way of changing it. You can detect whether the user has selected the light or dark theme and change the colours in your application accordingly, but your application cannot change system settings.

Try changing ApplicationBar or maybe Systray background and foreground colors. I saw an app that had ApplicationBar and Systray set to white background and back foreground and the keyboard was black on white even with the dark theme. I think there may be a correlation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM