MonoMobile.Views.BaseDialogViewSource.TitleForHeader C# (CSharp) 메소드

TitleForHeader() 공개 메소드

public TitleForHeader ( UITableView tableView, int sectionIndex ) : string
tableView UITableView
sectionIndex int
리턴 string
		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;
		}