alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ItemLongPressEventArgs

    Provides data for the ItemLongPress event.

    Inheritance
    object
    EventArgs
    ItemLongPressEventArgs
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.ListView
    Assembly: Syncfusion.Maui.ListView.dll
    Syntax
    public class ItemLongPressEventArgs : EventArgs

    Constructors

    ItemLongPressEventArgs(ItemType, object, Point)

    Initializes a new instance of the ItemLongPressEventArgs class.

    Declaration
    public ItemLongPressEventArgs(ItemType itemType, object dataItem, Point position)
    Parameters
    Type Name Description
    ItemType itemType

    The item type of the item long pressed item.

    object dataItem

    The item data of the long pressed item.

    Point position

    The touch position of the long pressed item.

    Properties

    DataItem

    Gets the item data of the long pressed item.

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

    An object that represents the item data of the long pressed item.

    Handled

    Gets or sets a value indicating whether to handle the event or not.

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

    ItemType

    Gets the item type of the item long pressed item.

    Declaration
    public ItemType ItemType { get; }
    Property Value
    Type Description
    ItemType

    It represents the item type of the long pressed item.

    Position

    Gets the touch position of the long pressed item.

    Declaration
    public Point Position { get; }
    Property Value
    Type Description
    Point

    An object that represents the touch position of the long pressed item.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved