public MainPage() { InitializeComponent(); RefreshView .Events() .Refreshing .InvokeCommand(this, x => x.ViewModel.RefreshCommand); this.OneWayBind(ViewModel, x => x.IsRefreshing, x => x.RefreshView.IsRefreshing); }