Пример #1
0
        private void Header_Tapped(object sender, TappedRoutedEventArgs e)
        {
            ChannelDetailsPage.PageParams para = new ChannelDetailsPage.PageParams();
            para.ChannelId = CategoryId;
            para.ChannelName = CategoryName;

            App.Instance.Frame.Navigate(typeof(ChannelDetailsPage), para);
        }
Пример #2
0
        private void ChannelZoneItem_Tapped(object sender, TappedRoutedEventArgs e)
        {
            var dataContext = sender.GetDataContext<Channel>();

            if (dataContext.Id > 0)
            {
                ChannelDetailsPage.PageParams para = new ChannelDetailsPage.PageParams();
                para.ChannelId = dataContext.Id;
                para.ChannelName = dataContext.Name;

                App.Instance.Frame.Navigate(typeof(ChannelDetailsPage), para);
            }
        }