Inheritance: BaseViewModel
Example #1
0
		public StorePage (Store store)
		{
			InitializeComponent ();

			Xamarin.Insights.Track ("Store", new Dictionary<string, string>
				{
					{"name", store.Name}
				});
			BindingContext = viewModel = new StoreViewModel (store, this);
		
		}
Example #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);
            }
        }
Example #3
0
        public StorePage(Store store)
        {
            InitializeComponent();

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

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