diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2016-11-15 20:39:48 +0100 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-11-15 11:39:48 -0800 |
commit | a6bbed029c64d2d64b74eeb67e27a099abf70664 (patch) | |
tree | 551c3924c055e2d39592b3f1c726cca46924dd73 /Xamarin.Forms.Controls | |
parent | 14e21dcebd4a706aaa5eed384b142957d84df002 (diff) | |
download | xamarin-forms-a6bbed029c64d2d64b74eeb67e27a099abf70664.tar.gz xamarin-forms-a6bbed029c64d2d64b74eeb67e27a099abf70664.tar.bz2 xamarin-forms-a6bbed029c64d2d64b74eeb67e27a099abf70664.zip |
[XamlC] TypedBindings, some tests, a compiler, ... (#489)
Diffstat (limited to 'Xamarin.Forms.Controls')
-rw-r--r-- | Xamarin.Forms.Controls/ControlGalleryPages/ListRefresh.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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<FooViewModel> (ListView.ItemsSourceProperty, m => m.Things); - lv.SetBinding<FooViewModel> (ListView.RefreshCommandProperty, m => m.RefreshThingsCommand); + lv.SetBinding (ListView.ItemsSourceProperty, "Things"); + lv.SetBinding (ListView.RefreshCommandProperty, "RefreshThingsCommand"); grid.Children.Add (lv, 0, 0); Content = grid; |