Esempio n. 1
0
 public static void ShowSplit(IGroupInfo collection)
 {
     var page = new SplitPage();
     if (_sampleData == null) _sampleData = new SampleDataSource(page.BaseUri);
     if (collection == null) collection = _sampleData.GroupedCollections.First();
     page.Items = collection;
     page.Context = collection.Key;
     Window.Current.Content = page;
 }
Esempio n. 2
0
        public static void ShowSplit(IGroupInfo collection)
        {
            var page = new SplitPage();

            if (_sampleData == null)
            {
                _sampleData = new SampleDataSource(page.BaseUri);
            }
            if (collection == null)
            {
                collection = _sampleData.GroupedCollections.First();
            }
            page.Items             = collection;
            page.Context           = collection.Key;
            Window.Current.Content = page;
        }