diff options
Diffstat (limited to 'Xamarin.Forms.Platform.WP8/TextCellRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.WP8/TextCellRenderer.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.WP8/TextCellRenderer.cs b/Xamarin.Forms.Platform.WP8/TextCellRenderer.cs index 56a9a389..3845ae4e 100644 --- a/Xamarin.Forms.Platform.WP8/TextCellRenderer.cs +++ b/Xamarin.Forms.Platform.WP8/TextCellRenderer.cs @@ -1,6 +1,7 @@ using System; using System.Windows.Input; using Microsoft.Phone.Controls; +using Xamarin.Forms.Internals; namespace Xamarin.Forms.Platform.WinPhone { @@ -10,7 +11,7 @@ namespace Xamarin.Forms.Platform.WinPhone { if (cell.RealParent is ListView) { - if (TemplatedItemsList<ItemsView<Cell>, Cell>.GetIsGroupHeader(cell)) + if (cell.GetIsGroupHeader<ItemsView<Cell>, Cell>()) return (System.Windows.DataTemplate)System.Windows.Application.Current.Resources["ListViewHeaderTextCell"]; return (System.Windows.DataTemplate)System.Windows.Application.Current.Resources["ListViewTextCell"]; @@ -31,7 +32,7 @@ namespace Xamarin.Forms.Platform.WinPhone public void Execute(object parameter) { - var entryCell = (EntryCell)parameter; + var entryCell = (IEntryCellController)parameter; entryCell.SendCompleted(); } |