问题描述:

I have implemented a search mechanism in my app. The user fill a textbox and then click on a button. is there a way to use the nice results view of Microsoft? i'm talking about the view you can see in the image attached.

网友答案:

I am giving you few resources, please check it out and let us know if you face any problem.

Guidelines and checklist for search (Windows Store apps)

Quickstart: Adding search to an app

Windows 8 and the future of XAML: Part 4: Contracts in WinRT/Windows 8

Search contract sample from MSDN

网友答案:

That's just a page and layout that someone created for that given app... given the Contoso branding it's some sample, though I don't immediately recognize it. I assume you saw the image, but don't have the source to it?

In Visual Studio, within an existing app you can use the Add>New Item dialog and select Search Contract to include a template page (with grid, filter combo box, etc.) to get you jumpstarted.

In the Windows 8 Camp Training kit, there is a fairly polished sample - Contoso Cookbook - that also includes a filtered search page, so that may be helpful as a start too.

相关阅读:
Top