public override string TitleForHeader(UITableView tableView, int sectionIndex) { if (Sections.Count > sectionIndex && Sections.ContainsKey(sectionIndex)) { var section = Sections[sectionIndex]; if (section != null) { return section.HeaderText; } } return string.Empty; }