public MyHomeViewModel() { MyStockList = new ObservableCollection <MyStock>(); SellCommand = new Command(Sell); TappedCommand = new Command(TappedStock); // Find the binding context of tabbed page, in order to use its properties vm = App.Current.Resources["vm"] as TabbedViewModel; }
public DetailsViewModel() { BuyCommand = new Command(Buy); // Find the binding context of tabbed page, in order to use its properties vm = App.Current.Resources["vm"] as TabbedViewModel; }
public SettingsViewModel() { CheckCommand = new Command(SaveSettings); vm = App.Current.Resources["vm"] as TabbedViewModel; }