/// <summary> /// Initializes a new instance of the <see cref="GameBoard"/> class. /// </summary> public GameBoard() { InitializeComponent(); _game = new Core.Game(); _grdCascades = new CascadeGrid(_game) { Margin = new Thickness(16, 16, 16, 16), HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch, VerticalAlignment = System.Windows.VerticalAlignment.Stretch }; grdMain.Children.Add(_grdCascades); Initialize(); }