public SetupViewModel(DisplayPreviewModuleDataModel dataModel)
 {
     _dataModel = dataModel;
     AddElementCommand = new RelayCommand(x => AddElement());
     EditElementCommand = new RelayCommand(x => EditDisplayElement(), x => CanEditDisplayElement());
     DeleteElementCommand = new RelayCommand(x => DeleteDisplayElement(), x => CanDeleteDisplayElement());
     SetBackgroundCommand = new RelayCommand(x => SetBackground());
     MoveUpCommand = new RelayCommand(x => MoveUp(), x => CanMoveUp());
     MoveDownCommand = new RelayCommand(x => MoveDown(), x => CanMoveDown());
 }
 public DisplayItemEditorViewModel()
 {
     var rootNodes = VixenSystem.Nodes.GetRootNodes().Select(x => new ChannelSource(x));
     ChannelSources = new ObservableCollection<ChannelSource>(rootNodes);
     RemoveChannelCommand = new RelayCommand(x => RemoveChannel(), x => CanRemoveChannel());
 }