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; }
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; }