private void SetSceneViewBinding_Click(object sender, RoutedEventArgs e) { MyMapView.Visibility = Visibility.Collapsed; MySceneView.Visibility = Visibility.Visible; Binding geoviewBinding = new Binding(); geoviewBinding.Source = MySceneView; BookmarksView.SetBinding(UI.Controls.BookmarksView.GeoViewProperty, geoviewBinding); }
private void SetSceneViewBinding_Click(object sender, EventArgs e) { MyMapView.IsVisible = false; MySceneView.IsVisible = true; Binding geoviewBinding = new Binding(); geoviewBinding.Source = MySceneView; BookmarksView.SetBinding(Esri.ArcGISRuntime.Toolkit.Xamarin.Forms.BookmarksView.GeoViewProperty, geoviewBinding); }
private void SetSceneViewBinding_Click(object sender, EventArgs e) { if (_viewContainer.Children.Contains(MySceneView) == false) { _viewContainer.Children.Add(MySceneView); } if (_viewContainer.Children.Contains(MyMapView)) { _viewContainer.Children.Remove(MyMapView); } Binding geoviewBinding = new Binding(); geoviewBinding.Source = MySceneView; BookmarksView.SetBinding(Esri.ArcGISRuntime.Toolkit.Xamarin.Forms.BookmarksView.GeoViewProperty, geoviewBinding); }