Sunday 22 February 2015

Chapter Seven: Search Contracts

Lets learn happily the contracts Windows bring with it:

Search Contract

  •  Users will be able to use the Search charm to open a search pane where they can enter search queries and select your app to display their search results.

  • The search pane that is opened by the Search charm consists of:
  • A touch-friendly search box
  • Touch-friendly search suggestions
Search results will be displayed by your app. You must design and create a view for your app that displays the user's search .
Let users see what they searched for (their query text).
Use a list view control and Search contract templates to bring the Windows 8 look and feel to your app.

For C#/C++/VB, the ListView and GridView controls let you use a list or grid layout.
For JavaScript, the listView control lets you use either a grid layout or a list layout .

By:
Khushbu Wadhwani,
Senior Windows app developer,
References:MSDN,Microsoft developer forum





No comments:

Post a Comment