using System.ComponentModel; using Xamarin.Forms; using Gallery.ViewModels; namespace Gallery.Views { public partial class ItemDetailPage : ContentPage { public ItemDetailPage() { InitializeComponent(); BindingContext = new ItemDetailViewModel(); } } }