From 925fc0aa588a060eb23fa16c1d225dd030012c23 Mon Sep 17 00:00:00 2001 From: Samantha Houts Date: Fri, 17 Jun 2016 03:10:18 -0700 Subject: 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 --- Xamarin.Forms.Platform.WinRT/TextCellRenderer.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Xamarin.Forms.Platform.WinRT/TextCellRenderer.cs') 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, Cell>.GetIsGroupHeader(cell)) + if (cell.GetIsGroupHeader, 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(); } } -- cgit v1.2.3