public GameView() { InitializeComponent(); DisplayBehaviour = new DisplayFlowFromRight(this); _controller = new GameViewController(); //The DependencyProperty changed ensures, that an actual instance with Tetris will be created }
public SettingsView() { InitializeComponent(); DisplayBehaviour = new DisplayFlowFromRight(this); }