public ExplorePageModel() { InitData(); ContentURL = ""; IsDataLoaded = false; ActionType = WeatherItemType.WI_TYPE_NON; ListItemSource = new ObservableCollection <RichListItem>(); }
public static Uri GetExplorePageURL(String title, String url, WeatherItemType type, WeatherItemTemplate template) { String strPath = String.Format("/ExplorePage.xaml?title={0}&url={1}&type={2}&template={3}", title, url, (int)type, (int)template); return(new Uri(strPath, UriKind.Relative)); }