简体   繁体   中英

Create Keyboard “Extension” like Windows 8 Metro IE

In Windows 8 Metro Style IE, if you click on the address bar, there will be "bookmark" tiles show up on the top of the address bar. If you are on a touch device, the tiles will show up above the soft keyboard.

I wonder how to I can do similar things in my own app.

Image can be found here. http://www.eightforums.com/attachments/f1/f32/11632d1353517665-ie10-metro-favorites-screenshot-2-.png

Listen for the Showing and Hiding events on Windows.UI.ViewManagement.InputPane . The InputPaneVisibilityEvent.OccludedRect tells you what part of the screen the keyboard is covering up. You can then place your tiles immediately above it.

The " Responding to the appearance of the on-screen keyboard " sample walks you through it.

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