Improve the usability of search in your Windows Style App

When your app could do with the search feature, implement it. But something that’s even more important is the discoverability of search. Not everyone knows how use the charms bar, or doesn’t want to use the charms. When you just start typing in the Store app it starts immediately showing the search pane with the input characters. I suggest you do the same when your apps supports search. How?

One line of code in your App OnLaunched method, I added it just after Window.Current.Activate().

// Show search on keyboard input.
SearchPane.GetForCurrentView().ShowOnKeyboardInput = true;


I know this is a very short post, but the API was pretty unknown to me until I tried it myself.

Update 23-01-2013:

Chris Veeningen (@Bloodyairtimer) explained to me that this should only be used on read-only views. So if you instead have an input box in your view this won’t work. So instead you could put the above line of code in the OnNavigatedTo method of your readonly views. I would also set it to false in the OnNavigateTo method of the views that contains input fields. Hope this helps a bit.

  • Gravatar elder scrolls online gold March 30th, 2014 at 20:44
    We're really distressed, I have been previously delivering elder scrolls online gold for several years and so i invariably beloved these people. The happy couple I got last winter season, Can be Bad. Your elder scrolls online gold I used to have happen to be elastic in addition to permitted leg protection to fix right into these people, they didn't become ruined as well as disfigured. My own new set, in which I have obtained for one month are never extended, it's extremely disheartening. The actual elder scrolls online gold are nearly altogether soft plus inflexible. Lower priced products=angry clients. not even price pretty much $200.
  • Gravatar vans aircraft April 18th, 2014 at 19:56
    No matter which one you buy,never make you down,all of them are direct from factory,worth you try.<br><strong>Vans Chauffeur 80s Tri Tone Boat Shoes Grey/Blue/Orange</strong><a href="">Vans shoes</a></br>Style: Pop Sneakers</br>Colour: Blue, Orange & Grey</br>Fastening: Lace Up</br>Upper Material: Canvas
    vans aircraft
  • Gravatar vans shoes wholesale April 18th, 2014 at 19:56
    Where to buy an excellent shoes has troubled many people especialy thoses new online buyers, buy Vans shoes wholesale from our online store will always be your best choice!<br><strong>Vans Authentic Lite Shadow/Green Trainers</strong><a href="">vans uk sale</a></br>Sole: Rubber</br>Style: Pop Sneakers</br>Colour: Grey & Green</br>Upper Material: Canvas
    vans shoes wholesale
  • Gravatar Vans Sk8 Hi Black/White Skate Shoes April 18th, 2014 at 19:56
    Just go and buy Vans white leopard to meet your demand of running and climbing in this season,action to get one with low price now!<br><strong>Vans Era Black/Frost Tri-Tone Canvas Skate Shoes</strong><a href="">who sale vans</a></br>Style: Pop Sneakers</br>Colour: Blue, Grey & Black</br>Upper Material: Canvas</br>Occasion: Sports
    Vans Sk8 Hi Black/White Skate Shoes