menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class ItemTappedEventArgs

    Provides data for the ItemTapped event.

    Inheritance
    System.Object
    ItemTappedEventArgs
    Namespace: Syncfusion.ListView.XForms
    Assembly: Syncfusion.SfListView.XForms.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 itemData, Point position)
    Parameters
    Type Name Description
    ItemType itemType

    The item type of the tapped item.

    System.Object itemData

    The item data of the tapped item.

    Xamarin.Forms.Point position

    The touch position at the tapped item.

    Properties

    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

    ItemData

    Gets the item at the tapped position.

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

    An object that represents the item at the tapped position.

    ItemType

    Gets the item index at the tapped position.

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

    It represents the item index at the tapped position.

    Position

    Gets the touch position at the tapped position.

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

    It represents the touch position at the tapped item.

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