Answered by:
adding search option

Question
-
i want to add a textbox in which user will write a string and the corresponding results will be showed in the listview.Monday, November 4, 2013 1:03 PM
Answers
-
Hi there
In Windows 8 the design guidance favoured the use of the search contract rather than the inclusion of a search box directly on the app pages. A sample for that is here:
http://code.msdn.microsoft.com/windowsapps/Search-app-contract-sample-118a92f5
In 8.1 the SearchBox control has been introduced.
Thanks
Doug
- Marked as answer by Anne Jing Tuesday, November 12, 2013 3:48 AM
Monday, November 4, 2013 4:34 PM
All replies
-
there is no search box control in the toolbox!Monday, November 4, 2013 1:33 PM
-
Hello H & J
Are you targetting Windows 8.0 or 8.1?
If 8.1 then this sample may help you:
http://code.msdn.microsoft.com/windowsapps/SearchBox-control-sample-0f64f94d
Regards
- Proposed as answer by Doug Stewart -MSFTMicrosoft employee Monday, November 4, 2013 1:57 PM
- Unproposed as answer by H and J Developers Monday, November 4, 2013 3:18 PM
Monday, November 4, 2013 1:53 PM -
hii...i am targetting 8.0! can u provide me a sample for it?
- Edited by H and J Developers Monday, November 4, 2013 3:19 PM
Monday, November 4, 2013 3:16 PM -
Hi there
In Windows 8 the design guidance favoured the use of the search contract rather than the inclusion of a search box directly on the app pages. A sample for that is here:
http://code.msdn.microsoft.com/windowsapps/Search-app-contract-sample-118a92f5
In 8.1 the SearchBox control has been introduced.
Thanks
Doug
- Marked as answer by Anne Jing Tuesday, November 12, 2013 3:48 AM
Monday, November 4, 2013 4:34 PM