We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Feature Request: ViewModel Command Support fo SfPullToRefresh

Thread ID:





131961 Aug 5,2017 07:54 AM UTC Nov 23,2017 12:37 PM UTC Xamarin.Forms 3
Tags: SfPullToRefresh
Malcolm Jack
Asked On August 5, 2017 07:54 AM UTC

It would be great if there was a RefreshCommand property on the SfPullToRefresh to support MVVM commands.
Typically refresh UI is tied to a fetch command on the viewmodel.
Currently have to work around this with a behavior (attached) - although it's untested since SfListView is not supported yet for SfPullToRefresh

Attachment: SfPullToRefreshCommandBehavior_8b5b734e.zip

Vimal Prabhu Manohkaran [Syncfusion]
Replied On August 7, 2017 12:27 PM UTC

Hi Malcolm, 
Thanks for contacting Syncfusion Support.

We have considered your requirement “ViewModel Command Support fo SfPullToRefresh” as a new feature and added it to our feature management system. It will be available in any of our upcoming releases. Please check our website periodically to know about the features that are implemented.

Also we are glad to announce that our Essential Studio Volume 3, 2017 (Version is rolled out with the support for  SfPullToRefresh integration into the SfListView control’ and is available for download under the following link. 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 

You can upgrade to our latest version of nugets and run the sample from the below link to know how to integrate the SfPullToRefresh control inside the SfListView control for reference.

Sample Link : http://www.syncfusion.com/downloads/support/forum/131961/ze/PullToRefresh-1775855099

Vimal Prabhu 

Sean Greenawalt
Replied On November 22, 2017 04:36 AM UTC

I am attempting to get the SfPullToRefresh work in a SfListView through MVVM. I am using essentially the same behavior as Malcolm. Upon using the behavior, the property never gets set. Here is a snippet from my xaml that contains the binding:

<ui:SfPullToRefreshCommandBehavior RefreshCommand="{Binding RefreshCommand}" />

How can I set this up to make the binding work correctly?

Edit: Fixed the issue using BehaviorPack library to call commands from events.

Ashok N [Syncfusion]
Replied On November 23, 2017 12:37 PM UTC

Hi Sean, 
We are sorry about the inconvenience caused. 
Still we didn’t provide the support for ViewModel.RefreshCommand in our SfPullToRefresh control. This feature will be available in any of our upcoming releases(tentatively). We will update you once provide this support. Also please check our website periodically to know about the features that are implemented. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon