public CaseControlVM(ICase caseModel, CasesCanvasVM casesCanvasVM) { if (caseModel == null) { return; } CaseModel = caseModel; CaseControlDetailsVM = new CaseControlDetailsVM(caseModel); DetailsVisible = false; ShowDetails = new RelayCommand(DoShowDetails); ZIndex = _maxZIndex++; CaseCreatorLastName = caseModel.CreatedBy?.GetLastName(); CasesCanvasVM = casesCanvasVM; AddToSideList = new RelayCommand(AddCaseToSideList); CloseCase = new RelayCommand(DoCloseCase); }
internal void RevertSearchedTextToOriginal() { CaseControlDetailsVM.RevertSearchedTextToOriginal(); }
internal void HighlightCaseText(string text) { CaseControlDetailsVM.HighlightCaseText(text); }