menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class SwipeController

    Handles the swiping interaction and related operations.

    Inheritance
    System.Object
    SwipeController
    Implements
    System.IDisposable
    Namespace: Syncfusion.ListView.XForms
    Assembly: Syncfusion.SfListView.XForms.dll
    Syntax
    public class SwipeController : Object, IDisposable

    Constructors

    SwipeController(SfListView)

    Initializes a new instance of the SwipeController class.

    Declaration
    public SwipeController(SfListView listView)
    Parameters
    Type Name Description
    SfListView listView

    The ListView.

    Methods

    Dispose()

    Disposes the instances.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Dispose the instances, if parameter is true.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Represents the boolean value for disposing objects.

    InitializeSwiping(ListViewItemInfoBase, Double, Boolean)

    Helper method initialized to swipe the ListViewItem based on the given offset value.

    Declaration
    protected void InitializeSwiping(ListViewItemInfoBase itemInfo, double offset, bool validateOffset = true)
    Parameters
    Type Name Description
    ListViewItemInfoBase itemInfo

    Represents the ListViewItemInfoBase.

    System.Double offset

    Represents the value that how much the item need to swipe.

    System.Boolean validateOffset

    false to set the programmatic swipe offset value; otherwise, true. The default is true.

    Implements

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