public MainPage() { InitializeComponent(); BasicSetup(); viewModel = new MainVM(); viewModel.ApplyCommand(AddStockToolButton); BindingContext = viewModel; }