private void EditProfileBT_Click(object sender, RoutedEventArgs e) { var DataUser = ((Button)sender); var Data = ((InstaUserInfo)DataUser.DataContext); EditFr.Navigate(typeof(EditProfile.EditProfile), Data); }
private void MainGr_ManipulationDelta(object sender, ManipulationDeltaRoutedEventArgs e) { if (e.IsInertial && !_isSwiped) { var swipedDistance = e.Cumulative.Translation.Y; if (Math.Abs(swipedDistance) <= 2) { return; } _isSwiped = true; if (swipedDistance > 0) { //SwipeableTextBlock.Text = "Down Swiped"; } else { CarouVideo.Pause(); StoryViews.PauseStartTimer(true); if (CarouselItem.User.UserName == AppCore.InstaApi.GetLoggedUser().UserName) { EditFr.Navigate(typeof(StoryViewersView), CarouselItem.Id); } //SwipeableTextBlock.Text = "Up Swiped"; } } }
public RecentActivityView() { this.InitializeComponent(); EditFr.Navigate(typeof(Page)); OnNavigatedTo(); //RecentActivity //var RecentActivity = await AppCore.InstaApi.GetRecentActivityAsync(PaginationParameters.MaxPagesToLoad(1)); }
public SearchPage() { this.InitializeComponent(); Current = this; EditFr.Navigate(typeof(Page)); GridAuto = GridAutoSuggest; Loaded += SearchPage_Loaded; }
void LVI_Tapped(object sender, TappedRoutedEventArgs e) { switch ((sender as ListViewItem).Content.ToString()) { case "Story Settings": EditFr.Navigate(typeof(StorySettingsView)); break; case "Change Password": EditFr.Navigate(typeof(ChangePasswordView)); break; case "Two Factor Authentication": EditFr.Navigate(typeof(TwoFactorSettingsView)); break; case "Posts You've Liked": EditFr.Navigate(typeof(LikedFeedsView)); break; default: break; } }
public MainSettingsView() { InitializeComponent(); EditFr.Navigate(typeof(Page)); }
private void PeopleList_ItemClick(object sender, ItemClickEventArgs e) { EditFr.Navigate(typeof(UserProfileView), e.ClickedItem); }
public ProfileView() { InitializeComponent(); EditFr.Navigate(typeof(Page)); ProfileViewModel.PropertyChanged += ProfileViewModel_PropertyChanged; }
//int _tapscount = 0; public CarouselItemUCStories() { this.InitializeComponent(); EditFr.Navigate(typeof(Page)); this.DataContextChanged += CarouselItemUC_DataContextChanged; }
void Followers_Tapped(object sender, TappedRoutedEventArgs e) => EditFr.Navigate(typeof(UserFollowersView), UserProfileViewModel.User.UserName);
private void FollowReqItem_Tapped(object sender, TappedRoutedEventArgs e) { EditFr.Navigate(typeof(FollowRequestsView), PendingUsers); }
private void Followers_Click(object sender, RoutedEventArgs e) { EditFr.Navigate(typeof(UserFollowersView), UserProfileViewModel.User.UserName); }
public ProfileView() { this.InitializeComponent(); EditFr.Navigate(typeof(Page)); }
private void Following_Tapped(object sender, TappedRoutedEventArgs e) { EditFr.Navigate(typeof(UserFollowingsView), UserProfileViewModel.User.UserName); }
private void Followers_Tapped(object sender, TappedRoutedEventArgs e) { EditFr.Navigate(typeof(UserFollowersView), AppCore.InstaApi.GetLoggedUser().UserName); }
void AdaptiveGridViewControl_ItemClick(object sender, ItemClickEventArgs e) => EditFr.Navigate(typeof(SinglePostView), e.ClickedItem);
private void Settings_Click(object sender, RoutedEventArgs e) { EditFr.Navigate(typeof(MainSettingsView)); }
public ProfileView() { InitializeComponent(); EditFr.Navigate(typeof(Page)); DataContextChanged += ProfileView_DataContextChanged; }
private void AdaptiveGridViewControl_ItemClick(object sender, ItemClickEventArgs e) { EditFr.Navigate(typeof(SinglePostView), e.ClickedItem as InstaMedia); }
public LikedFeedsView() { this.InitializeComponent(); EditFr.Navigate(typeof(Page)); }
public UserProfileView() { this.InitializeComponent(); EditFr.Navigate(typeof(Page)); DataContextChanged += UserProfileViewDataContextChanged; }
public UserProfileView() { InitializeComponent(); EditFr.Navigate(typeof(Page)); }