O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Landing Page to Display Quick Card Information

The landing page for the sample is the SearchLandingView.xaml page, whose viewmodel is the SearchLandingViewModel class; see Listing 31.5.

An ObservableCollection of query string parameters is populated via the LoadUriParameters when the page is navigated to. The custom ParameterInfo class contains two string properties: Key and Value.

LISTING 31.5. SearchLandingViewModel Class

class SearchLandingViewModel : ViewModelBase{    readonly ObservableCollection<ParameterInfo> parameters        = new ObservableCollection<ParameterInfo>();    public ObservableCollection<ParameterInfo> Parameters    {        get        {            return parameters;        }    } ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required