public RelatedLinkVM(EditorVM parent) { _evm = parent; NewLinkCommand = new RelayCommand(NewLink); RemoveLinkCommand = new RelayCommand(RemoveLink); UpLinkCommand = new RelayCommand(UpLink); DownLinkCommad = new RelayCommand(DownLink); }
public ExampleVM(EditorVM parent) { _evm = parent; Examples = new ObservableCollection <Example>(); NewExampleCommand = new RelayCommand(NewExample); RemoveExampleCommand = new RelayCommand(RemoveExample); UpExampleCommand = new RelayCommand(UpExample); DownExampleCommad = new RelayCommand(DownExample); }