/// <summary> /// Handles property changes for the <see cref="ItemTemplate" /> bindable property. /// </summary> private static void ItemTemplateChanged(BindableObject sender, object?oldValue, object?newValue) { BookmarksView bookmarkView = (BookmarksView)sender; if (bookmarkView._presentingView != null) { bookmarkView._presentingView.ItemTemplate = newValue as DataTemplate; } }
/// <summary> /// Handles property changes for the <see cref="GeoView" /> bindable property. /// </summary> private static void GeoViewChanged(BindableObject sender, object?oldValue, object?newValue) { BookmarksView bookmarkView = (BookmarksView)sender; bookmarkView._dataSource.SetGeoView(newValue as GeoView); }