public ViewportSettingsViewModel(ViewportController viewportController, SettingsController controller) : base(" VIEWPORTS", controller) { _container = controller.GetChildContainer(); _viewportController = viewportController; RemoveModuleViewportCommand = new ReactiveCommand(SelectedModuleViewport.Select(i => i != null), false); RemoveModuleViewportCommand.Subscribe(OnRemoveModuleViewport); AddModuleViewportCommand.Subscribe(OnAddModuleViewport); EditViewportsCommand.Subscribe(OnEditViewports); GenerateMonitorConfigCommand.Subscribe(OnGenerateMonitorConfig); MonitorSetupWizardCommand.Subscribe(OnMonitorSetupWizard); }