private void itemToDisplayItem(UserProgressItem item, DisplayItem displayItem)
 {
     displayItem.Line1 = item.ProgressItem.ItemDescription;
     displayItem.Line2 = item.CompletedDate == null ? "Pending" : (item.CompletedDateValue.ToShortDateString() + " - " + (item.CompletedBy == null ? string.Empty : item.CompletedBy.DisplayName));
     displayItem.Line3 = item.Comments;
     displayItem.Tag   = item;
     displayItem.Tag2  = item.CompletedDate != null;
     displayItem.Tag3  = string.IsNullOrEmpty(item.Comments);
     displayItem.Tag4  = item.CompletedDate == null ? Color.LightGray : Color.Blue;
     displayItem.Tag5  = !ForUser && item.CompletedDate == null;
 }
 public void ChecklistChanged()
 {
     if (UserProgressChecklist.ProgressChecklistIdValue == _progressChecklistId)
     {
         return;
     }
     _progressChecklistId = UserProgressChecklist.ProgressChecklistIdValue;
     UserProgressChecklist.UserProgressItems.Clear();
     foreach (var i in UserProgressChecklist.ProgressChecklist.ProgressItems)
     {
         var item = new UserProgressItem()
         {
             ProgressItem = i
         };
         UserProgressChecklist.UserProgressItems.Add(item);
     }
     populateProgressItems();
 }