using System;
using System.ComponentModel;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;

using Navigator.Models;
using Navigator.ViewModels;
using Navigator.Core;

namespace Navigator.Views
{
    // Learn more about making custom code visible in the Xamarin.Forms previewer
    // by visiting https://aka.ms/xamarinforms-previewer
 //   [DesignTimeVisible(false)]
    public partial class ItemDetailPage : ContentPage
    {
//        private ItemDetailViewModel viewModel;
        private WorkspaceViewModel viewModel;
//        public ItemDetailPage(ItemDetailViewModel viewModel)
        public ItemDetailPage(WorkspaceViewModel viewModel)
        {
          InitializeComponent();
          BindingContext = this.viewModel = viewModel;
        }
    }
}