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

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