summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/ITableModel.cs
diff options
context:
space:
mode:
authorSamantha Houts <samantha@teamredwall.com>2016-06-17 03:10:18 -0700
committerRui Marinho <me@ruimarinho.net>2016-06-17 11:10:18 +0100
commit925fc0aa588a060eb23fa16c1d225dd030012c23 (patch)
tree83676c25c29d97d9250516b217020ba85425796d /Xamarin.Forms.Core/ITableModel.cs
parentd44396a4534b1e2bc81143c809e4adaee656ab15 (diff)
downloadxamarin-forms-925fc0aa588a060eb23fa16c1d225dd030012c23.tar.gz
xamarin-forms-925fc0aa588a060eb23fa16c1d225dd030012c23.tar.bz2
xamarin-forms-925fc0aa588a060eb23fa16c1d225dd030012c23.zip
Prep Cell & friends for removal of InternalsVisibleTo (#142)
* Prep Cell & friends for removal of InternalsVisibleTo Includes: - Cell - EntryCell - ListView - MenuItem - TableView - ViewCell - Toolbar Moved extensions to Internal & removed TPH * Update docs * [Controls] Ignore Issue2411 on iOS <9 * [Controls] Formatting for Issue2411
Diffstat (limited to 'Xamarin.Forms.Core/ITableModel.cs')
-rw-r--r--Xamarin.Forms.Core/ITableModel.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/ITableModel.cs b/Xamarin.Forms.Core/ITableModel.cs
new file mode 100644
index 00000000..4778b908
--- /dev/null
+++ b/Xamarin.Forms.Core/ITableModel.cs
@@ -0,0 +1,16 @@
+namespace Xamarin.Forms
+{
+ 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);
+ void RowLongPressed(int section, int row);
+ void RowSelected(object item);
+ void RowSelected(int section, int row);
+ }
+}