File: ITableModel.cs
Web Access
Project: src\src\Controls\src\Core\Controls.Core.csproj (Microsoft.Maui.Controls)
#nullable disable
using Microsoft.Maui.Graphics;
 
namespace Microsoft.Maui.Controls
{
	public interface ITableModel
	{
		Cell GetCell(int section, int row);
		Cell GetHeaderCell(int section);
		object GetItem(int section, int row);
		int GetRowCount(int section);
		int GetSectionCount();
		string[] GetSectionIndexTitles();
		string GetSectionTitle(int section);
		Color GetSectionTextColor(int section);
		void RowLongPressed(int section, int row);
		void RowSelected(object item);
		void RowSelected(int section, int row);
	}
}