So, you've got a Windows 8[.1] desktop app and want to port it to Windows 10 (or just want to build a Windows 10 app that will run on the desktop), read on.
If your app has more than one page you'll almost certainly have some way of navigating backwards through the page stack. The default way of doing this will be with some form of button on screen that the user can tap with their finger or click with their mouse.
But what about the keyboard?
Yes, it's possible to `Tab` to the back button and invoke it that way, but if you have a page with a lot of controls on it it may require a frustratingly large number of key presses to "tab" to the back button.
A common (defacto/unofficial) alternative is to use the keyboard `Escape` and/or `BackSpace` buttons as a shortcut.
If doing this you'll probably do so by adding a `KeyUp` (or `KeyDown`) event handler to the page.
Here's where it get's fun.
To have the page listen to keyboard events it needs to have focus (or contain controls that have focus and let event bubble up to it).
In Windows 8.1 a page code get focus and listen to events even if `IsTabStop` was false (the default).
In Windows 10 a page must have `IsTabStop` set to True to be able to get focus and be able to listen to key press events.
Discovering this cost me far more time than I would have liked. I document it here in the hope that it saves someone else some time in the future.
Useful post! Thanks
ReplyDeleteThanks for sharing this quality information with us. I really enjoyed reading.
ReplyDelete----
five nights at freddy's download | five nights at freddy's | fnaf
Great post, thanks the author! if you need coursework or essay writing help - visit the website!
ReplyDeleteThank you author for sharing this amazing article with us.
ReplyDeletenew york giants jerseys
ReplyDeletecoach outlet store
oakley sunglasses outlet
five fingers shoes
oakley outlet
nike trainers
giuseppe zanotti
ugg boots
philadelphia eagles jerseys
pandora outlet
fitflop
celine outlet
coach outlet online
nike free 5.0
kate spade
boston celtics jersey
manchester united jersey
abercrombie and fitch
hollister clothing
kate spade handbags
ray ban sunglasses
nfl jerseys wholesale
air max 2014
oakley sunglasses wholesale
toms shoes outlet online
mbt shoes
cheap soccer jerseys
lacoste polo shirts
lacoste polo shirts
m a c cosmetics
hollister uk
ralph lauren
valentino shoes
adidas shoes
real madrid jersey
ray ban sunglasses
cheap jordans
michael kors outlet online
pandora jewelry
cheap ray ban sunglasses
0722maoqiuyun
ReplyDeleteYour blog is very interesting, this is because your blog discusses about tips and unique informatics
Lindungi Kesehatan
ZoSehat
Penting Kesehatan
I want to thank mcdougal for this great efforts. I appreciate your time and effort in preparing this post. I appreciate your blog content articles.
ReplyDelete2015 Honda HRV Release Date Canada
2016 Ford Escape Canada Review
2016 Honda Civic Type R
2016 Lexus RX 450h Release Date
Very nice website and articles. I will be realy very pleased to visit your website. Now I am found that we actually want. I check your website everyday and attempt to learn something from a blog. Thank you and looking forward to your new submit.
ReplyDelete2016 Toyota 4Runner Diesel Space
2016 Toyota Camry Hybrid Release Date
2016 Toyota Corolla Release Date and Space
2016 Toyota FJ Cruiser Price and Concept
custom thesis writing service is one of the best in UK.
ReplyDeletethank you!!! i need some app like this!
ReplyDeleteneedessaywritten.net
san antonio spurs, http://www.sanantoniospursjersey.com/
ReplyDeletesalomon running shoes, http://www.salomonshoes.us.com/
golden state warriors, http://www.warriorsjersey.com/
ralph lauren,ralph lauren uk,ralph lauren outlet,ralph lauren outlet online,polo ralph lauren outlet,ralph lauren polo
minnesota vikings, http://www.minnesotavikingsjersey.us/
hermes bags, http://www.hermesbags.co.uk/
adidas outlet store, http://www.adidasoutletstore.us.com/
canada goose coats, http://www.uggbootscheap.eu.com/
michael kors outlet store, http://michaelkors.outletonlinestores.us.com/
nike air max,air max,air max 2014,nike air max 2014,air max 90,airmax,air max 95,air max 2013,nike air max 90,nike air max 2013
cheap mlb jerseys, http://www.cheapmlbjerseys.us.com/
cyber monday, http://www.blackfriday2015.in.net/
michael kors outlet,michael kors outlet online,michael kors,kors outlet,michael kors handbags,michael kors outlet online sale,michael kors handbags clearance,michael kors purses,michaelkors.com,michael kors bags,michael kors shoes,michaelkors,cheap michael kors
moncler jackets, http://www.uggoutletstore.eu.com/
soccer jerseys,soccer jerseys wholesale,soccer jerseys cheap,soccer jerseys for sale,cheap soccer jersey,usa soccer jersey,football jerseys
canada goose outlet, http://www.canada-goosejackets.us.com/
air jordan 4 retro, http://www.airjordan4.org/
ugg uk outlet, http://www.snowboots.us.com/
air jordan 11 retro, http://www.airjordan11.net/
kkkk1012
jianbin1208
ReplyDeletemichael kors uk outlet
fred perry shirts
lebron james shoes,lebron 12,lebron 12 shoes,lebron sneakers,lebron iv,lebron 11,lebron 10
nike air max 2014
timberland outlet
adidas jeremy scott
adidas outlet store
canada goose jackets
nike air huarache,nike huarache,nike huarache sneakers,nike huarache shoes
uggs outlet
north face jackets
football shirts uk,soccer jerseys uk,cheap soccer jerseys uk
coach outlet
winter coats outlet
ray ban sale
chanel handbags
michael kors usa
louis vuitton outlet online
lebron 12
michael kors outlet online
uggs outlet
ray ban sunglasses outlet,ray ban sunglasses,ray ban,rayban,ray bans,ray ban outlet,ray-ban,raybans,ray ban wayfarer,ray-ban sunglasses,raybans.com,rayban sunglasses,cheap ray ban
canada goose jackets
cheap mlb jerseys
uggs outlet
cheap ugg boots
winter jackets outlet
los angeles clippers
dallas cowboys