public ScreenGridViewModel GetViewModel() { var viewModel = new ScreenGridViewModel(this); viewModel.Collection2DChanged += Collection2DChanged; return(viewModel); }
public GridMapViewModel() { _screens = new ScreenGrid(); _screensViewModel = _screens.GetViewModel(); }