Exemplo n.º 1
0
 public static void ShowCollectionSummary(IEnumerable<object> collection)
 {
     var page = new CollectionSummaryPage();
     if (_sampleData == null) _sampleData = new SampleDataSource(page.BaseUri);
     page.Items = collection;
     page.Item = collection;
     Window.Current.Content = page;
 }
Exemplo n.º 2
0
        public static void ShowCollectionSummary(IEnumerable <object> collection)
        {
            var page = new CollectionSummaryPage();

            if (_sampleData == null)
            {
                _sampleData = new SampleDataSource(page.BaseUri);
            }
            page.Items             = collection;
            page.Item              = collection;
            Window.Current.Content = page;
        }