MonoTouch.Dialog.DialogViewController.Source.SectionIndexTitles C# (CSharp) Method

SectionIndexTitles() public method

public SectionIndexTitles ( UITableView tableView ) : string[]
tableView UITableView
return string[]
			public override string[] SectionIndexTitles (UITableView tableView)
			{
				if (Container.EnableSectionIndex) {
					var values = new List<string>();
					foreach (var section in Root.Sections) {
						if (section.Caption!=null) {
							values.Add(section.Caption);
						}
					}	
					return values.ToArray();
				}
				return null;
			}