menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IPullToRefresh - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IPullToRefresh

    Defines methods and properties that must be implemented to get notification of the pull to refresh actions.

    Namespace: Syncfusion.Core.XForms
    Assembly: Syncfusion.Core.XForms.dll
    Syntax
    public interface IPullToRefresh

    Properties

    CanCustomizeContentLayout

    Gets or sets a value indicating whether to bounce SfDataGrid body region only with TransitionMode-Push or SfDataGrid to bounce with HeaderRow also(default layout).

    Declaration
    bool CanCustomizeContentLayout { get; set; }
    Property Value
    Type
    System.Boolean

    Methods

    CanHandleGesture(Object)

    Method that determines whether the gesture should be handled by the child elements or not.

    Declaration
    bool CanHandleGesture(object pullToRefresh)
    Parameters
    Type Name Description
    System.Object pullToRefresh

    Instance of PullToRefresh

    Returns
    Type Description
    System.Boolean

    true The pullable content or its childs will handle the gesture false.

    Pulling(Double, Object, out Boolean)

    Provides notifications regarding the pulling action with the progress value and an out parameter to cancel the pulling event.

    Declaration
    void Pulling(double progress, object pullToRefresh, out bool cancel)
    Parameters
    Type Name Description
    System.Double progress

    progress value of the pulling action.

    System.Object pullToRefresh

    Instance of PullToRefresh

    System.Boolean cancel

    If cancel is set to true, pulling will be cancelled

    PullingCancelled(Object)

    Signals that the pulling action is cancelled before the progress meeting 100.

    Declaration
    void PullingCancelled(object pullToRefresh)
    Parameters
    Type Name Description
    System.Object pullToRefresh

    Instance of PullToRefresh

    Refreshed(Object)

    Signals that the view refreshing is completed.

    Declaration
    void Refreshed(object pullToRefresh)
    Parameters
    Type Name Description
    System.Object pullToRefresh

    Instance of PullToRefresh

    Refreshing(Object)

    Provides notifications regarding the refreshing action.

    Declaration
    void Refreshing(object pullToRefresh)
    Parameters
    Type Name Description
    System.Object pullToRefresh

    Instance of PullToRefresh

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved