private void Image_Mypage_btn1_PointerReleased(object sender, PointerRoutedEventArgs e) { Image_Mypage2_btn1.SetBinding(Image.SourceProperty, SetProperty("Assets/MY_middleicon/file_on.png")); Image_Mypage2_btn2.SetBinding(Image.SourceProperty, SetProperty("Assets/MY_middleicon/message_off.png")); Frame_MyPage2.Navigate(typeof(MyPage_Another_SubPage1)); }
/// <summary> /// Invoked when this page is about to be displayed in a Frame. /// </summary> /// <param name="e">Event data that describes how this page was reached. /// This parameter is typically used to configure the page.</param> protected override void OnNavigatedTo(NavigationEventArgs e) { Frame_MyPage2.Navigate(typeof(MyPage_Another_SubPage1)); Initialize_MyPage2(); }