From a6bbed029c64d2d64b74eeb67e27a099abf70664 Mon Sep 17 00:00:00 2001 From: Stephane Delcroix Date: Tue, 15 Nov 2016 20:39:48 +0100 Subject: [XamlC] TypedBindings, some tests, a compiler, ... (#489) --- Xamarin.Forms.Controls/ControlGalleryPages/ListRefresh.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Xamarin.Forms.Controls') diff --git a/Xamarin.Forms.Controls/ControlGalleryPages/ListRefresh.cs b/Xamarin.Forms.Controls/ControlGalleryPages/ListRefresh.cs index 28afd7be..cad0638f 100644 --- a/Xamarin.Forms.Controls/ControlGalleryPages/ListRefresh.cs +++ b/Xamarin.Forms.Controls/ControlGalleryPages/ListRefresh.cs @@ -57,8 +57,8 @@ namespace Xamarin.Forms.Controls stack.Children.Add (lbl); lv.Header = new ContentView { HeightRequest = 300, HorizontalOptions = LayoutOptions.FillAndExpand, Content = stack }; - lv.SetBinding (ListView.ItemsSourceProperty, m => m.Things); - lv.SetBinding (ListView.RefreshCommandProperty, m => m.RefreshThingsCommand); + lv.SetBinding (ListView.ItemsSourceProperty, "Things"); + lv.SetBinding (ListView.RefreshCommandProperty, "RefreshThingsCommand"); grid.Children.Add (lv, 0, 0); Content = grid; -- cgit v1.2.3