public editTask(BoardWindowRow bwr) { this.bwr = bwr; editTaskTitle = bwr.title; editTaskDecription = bwr.description; EditTaskDateTime = bwr.duedate; editTaskId = bwr.taskId; }
public ShowTaskInput(string username, BoardWindowRow bwr) { this.bwr = bwr; showTaskTitle = bwr.title; showTaskDecription = bwr.description; ShowTaskDateTime = bwr.duedate; showTaskId = bwr.taskId; showUsername = username; showColumnId = bwr.columnId; showCreationTime = bwr.creationTime; }
private void UpdateFilter() { CollectionViewSource cvs = new CollectionViewSource() { Source = tasks }; ICollectionView cv = cvs.View; cv.Filter = o => { BoardWindowRow p = o as BoardWindowRow; return(p.title.ToUpper().Contains(SearchTerm.ToUpper()) | p.description.ToUpper().Contains(SearchTerm.ToUpper())); }; GridView = cv; }