Thank you for the information and the attached project.
I am afraid that I can not completely understand what is the scenario you wish to accomplish. If you wish to enable the PullToRefreshIndicator even when no data is displayed, you can set the ShowPullToRefreshWhenNoData property to true
. If you wish the footer to be displayed only when there are items in the ItemsSource, then you can set the ListFooterTemplate to null
when the footer should not be visible. I have attached a modified version of your project to demonstrate how you can do this.
Also, please note that in your project the Page class should implement the INotifyPropertyChanged interface and raise the PropertyChanged event for the properties that update the controls (e.g. FooterVisibility property).
If this does not fulfill your requirements, could you please provide more detailed description of the scenario and we will suggest the best way to implement it.
I look forward to your reply.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.