private string GetTitleLine2() { Id<Course> id = courseView.BaseCourseId; if (id.IsNotNone) { Course course = eventDB.GetCourse(id); return course.secondaryTitle; } else return null; // Probably all controls. No second line is correct for that. }