private void Image_btn3_PointerReleased(object sender, PointerRoutedEventArgs e) { Image_btn1.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/able_main_w.png")); Image_btn2.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_my_w.png")); Image_btn3.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/able_history_green.png")); Image_btn4.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_notice_w.png")); Frame_Main2.Navigate(typeof(ActivityPage)); }
protected override void OnNavigatedTo(NavigationEventArgs e) { if (!Frame_Main2.Navigate(typeof(btn5))) { throw new Exception("Failed to create scenario list"); } Image_btn1.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/able_main_green.png")); Image_btn2.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_my_w.png")); Image_btn3.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/able_history_w.png")); Image_btn4.SetBinding(Image.SourceProperty, SetProperty("Assets/top_icon_37x37/dis_notice_w.png")); }