menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SwipingEventArgs - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SwipingEventArgs

    Provides data for the Swiping event, which is raised when user begins swiping an item.

    Inheritance
    System.Object
    SwipingEventArgs
    Namespace: Syncfusion.Maui.ListView
    Assembly: Syncfusion.Maui.ListView.dll
    Syntax
    public class SwipingEventArgs : EventArgs

    Constructors

    SwipingEventArgs()

    Declaration
    public SwipingEventArgs()

    Properties

    DataItem

    Gets the data object associated with the swiped ListViewItem in the bound data source.

    Declaration
    public object DataItem { get; }
    Property Value
    Type Description
    System.Object

    The underlying data object of the listViewItem being swiped from the bound data source.

    Direction

    Gets the swipe direction of the swiped ListViewItem "/> in the SfListView control.

    Declaration
    public SwipeDirection Direction { get; }
    Property Value
    Type Description
    Microsoft.Maui.SwipeDirection

    The swipe direction of the swiped listViewItem.

    Handled

    Gets or sets a value indicating whether the current swiped offset of swiped ListViewItem should be remain same till the SwipeEnded is raised.

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

    Index

    Gets the index of the swiped ListViewItem in the SfListView’s DataSource.DisplayItems collection.

    Declaration
    public int Index { get; }
    Property Value
    Type Description
    System.Int32

    The item index of the swiped listViewItem.

    Offset

    Gets the current swipe offset of the ListViewItem being swiped.

    Declaration
    public double Offset { get; }
    Property Value
    Type Description
    System.Double

    The current swipe offset of the item being swiped.

    See Also

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