diff options
author | kingces95 <kingces95@users.noreply.github.com> | 2017-03-09 13:38:06 -0500 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2017-03-09 10:38:06 -0800 |
commit | b9b9d2536ff0cd6ae4526356d663706c721e481f (patch) | |
tree | 40778d441da74f47eb910067e0dad77d15bbb34a /Xamarin.Forms.Core/TableModel.cs | |
parent | 90ece3d38d3f6d6d2bbdd28b12a29e78c0feedc4 (diff) | |
download | xamarin-forms-b9b9d2536ff0cd6ae4526356d663706c721e481f.tar.gz xamarin-forms-b9b9d2536ff0cd6ae4526356d663706c721e481f.tar.bz2 xamarin-forms-b9b9d2536ff0cd6ae4526356d663706c721e481f.zip |
Add [EditorBrowsable(EditorBrowsableState.Never)] to public classes/interfaces in XF.Internals (#806)
Diffstat (limited to 'Xamarin.Forms.Core/TableModel.cs')
-rw-r--r-- | Xamarin.Forms.Core/TableModel.cs | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/Xamarin.Forms.Core/TableModel.cs b/Xamarin.Forms.Core/TableModel.cs index db33000f..795a0697 100644 --- a/Xamarin.Forms.Core/TableModel.cs +++ b/Xamarin.Forms.Core/TableModel.cs @@ -4,9 +4,9 @@ using Xamarin.Forms.Internals; namespace Xamarin.Forms.Internals { + [EditorBrowsable(EditorBrowsableState.Never)] public abstract class TableModel: ITableModel { - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Cell GetCell(int section, int row) { object item = GetItem(section, row); @@ -17,46 +17,36 @@ namespace Xamarin.Forms.Internals return new TextCell { Text = item.ToString() }; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Cell GetHeaderCell(int section) { return null; } - [EditorBrowsable(EditorBrowsableState.Never)] public abstract object GetItem(int section, int row); - [EditorBrowsable(EditorBrowsableState.Never)] public abstract int GetRowCount(int section); - [EditorBrowsable(EditorBrowsableState.Never)] public abstract int GetSectionCount(); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual string[] GetSectionIndexTitles() { return null; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual string GetSectionTitle(int section) { return null; } - [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler<EventArg<object>> ItemLongPressed; - [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler<EventArg<object>> ItemSelected; - [EditorBrowsable(EditorBrowsableState.Never)] public void RowLongPressed(int section, int row) { RowLongPressed(GetItem(section, row)); } - [EditorBrowsable(EditorBrowsableState.Never)] public void RowLongPressed(object item) { if (ItemLongPressed != null) @@ -65,13 +55,11 @@ namespace Xamarin.Forms.Internals OnRowLongPressed(item); } - [EditorBrowsable(EditorBrowsableState.Never)] public void RowSelected(int section, int row) { RowSelected(GetItem(section, row)); } - [EditorBrowsable(EditorBrowsableState.Never)] public void RowSelected(object item) { if (ItemSelected != null) |