PullToRefresh
Code Example
How To Use
Last updated
Was this helpful?
Was this helpful?
public partial class Page1 : Page
{
private readonly PullToRefresh pullToRefresh1 = new PullToRefresh();
public Page1()
{
InitializeComponent();
Panel panel1 = new Panel();
panel2.BorderStyle = BorderStyle.Solid;
this.Controls.Add(panel1);
pullToRefresh1.SetPullToRefresh(panel1, true);
pullToRefresh1.Refresh += (sender, e) => AlertBox.Show("Refresh triggered");
pullToRefresh1.DropDownHeight = 100;
pullToRefresh1.BackColor = System.Drawing.Color.DarkGreen;
}
}