summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/TextCellRenderer.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.Platform.WinRT/TextCellRenderer.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.Platform.WinRT/TextCellRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT/TextCellRenderer.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/TextCellRenderer.cs b/Xamarin.Forms.Platform.WinRT/TextCellRenderer.cs
index 4d04a5ee..77f31600 100644
--- a/Xamarin.Forms.Platform.WinRT/TextCellRenderer.cs
+++ b/Xamarin.Forms.Platform.WinRT/TextCellRenderer.cs
@@ -2,6 +2,7 @@
using System.Windows.Input;
using WDataTemplate = Windows.UI.Xaml.DataTemplate;
using WApplication = Windows.UI.Xaml.Application;
+using Xamarin.Forms.Internals;
#if WINDOWS_UWP
@@ -17,7 +18,7 @@ namespace Xamarin.Forms.Platform.WinRT
{
if (cell.RealParent is ListView)
{
- if (TemplatedItemsList<ItemsView<Cell>, Cell>.GetIsGroupHeader(cell))
+ if (cell.GetIsGroupHeader<ItemsView<Cell>, Cell>())
return (WDataTemplate)WApplication.Current.Resources["ListViewHeaderTextCell"];
//return (WDataTemplate) WApplication.Current.Resources["ListViewTextCell"];
@@ -40,7 +41,7 @@ namespace Xamarin.Forms.Platform.WinRT
public void Execute(object parameter)
{
- var entryCell = (EntryCell)parameter;
+ var entryCell = (IEntryCellController)parameter;
entryCell.SendCompleted();
}
}