Inheritance: BaseViewModel
		public StorePage (Store store)
		{
			InitializeComponent ();

			Xamarin.Insights.Track ("Store", new Dictionary<string, string>
				{
					{"name", store.Name}
				});
			BindingContext = viewModel = new StoreViewModel (store, this);
		
		}
Exemple #2
0
        public StorePage(Store store)
        {
            InitializeComponent();

            BindingContext = viewModel = new StoreViewModel(store, this);

            if (Device.RuntimePlatform != Device.UWP)
            {
                MyMap = new Map
                {
                    IsShowingUser = false,
                    MapType       = MapType.Hybrid
                };
                MainGrid.Children.Add(MyMap);
                Grid.SetRow(MyMap, 14);
                Grid.SetColumnSpan(MyMap, 3);
            }
        }
Exemple #3
0
        public StorePage(Store store)
        {
            InitializeComponent();

            BindingContext = viewModel = new StoreViewModel(store, this);
        }
        public StorePage(Store store)
        {
            InitializeComponent ();

            BindingContext = viewModel = new StoreViewModel (store, this);
        }