public override async void Edit() { var editor = new ClothKindEditorViewModel(this.EventAggregator, _model); EventAggregator.PublishOnUIThread(this.SelectedEntity); await DialogHostExtensions.ShowCaliburnVM(editor); RaiseStateChanged(); }
public override async void Add() { var editor = new ClothKindEditorViewModel(this.EventAggregator, _model); editor.ClothKindParent = this.SelectedEntity; await DialogHostExtensions.ShowCaliburnVM(editor); this.Refresh(0, 0); }