private void SetStock() { StockView = new StockView(); StockView.SetStock(_table.GetStock()); Grid.SetColumn(StockView, 0); Grid.SetRow(StockView, 1); RootView.Children.Add(StockView); }