menu

MAUI

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

    Show / Hide Table of Contents

    Class ItemTappedEventArgs

    Provides data for the ItemTapped event.

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

    Constructors

    ItemTappedEventArgs(ItemType, Object, Point)

    Initializes a new instance of the ItemTappedEventArgs class.

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

    The item type of the tapped item.

    System.Object dataItem

    The item data of the tapped item.

    Microsoft.Maui.Graphics.Point position

    The touch position at the tapped item.

    Properties

    DataItem

    Gets the item data of the tapped item.

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

    An object that represents the item of the tapped position.

    Handled

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

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

    ItemType

    Gets the item type of the tapped item.

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

    It represents the item type of the tapped item.

    Position

    Gets the touch position of the tapped item.

    Declaration
    public Point Position { get; }
    Property Value
    Type Description
    Microsoft.Maui.Graphics.Point

    It represents the touch position of the tapped item.

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