menu

MAUI

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

    Show / Hide Table of Contents

    Class ItemLongPressEventArgs

    Provides data for the ItemLongPress event.

    Inheritance
    System.Object
    ItemLongPressEventArgs
    Namespace: Syncfusion.Maui.TreeView
    Assembly: Syncfusion.Maui.TreeView.dll
    Syntax
    public class ItemLongPressEventArgs : EventArgs

    Constructors

    ItemLongPressEventArgs()

    Initializes a new instance of the ItemLongPressEventArgs class.

    Declaration
    public ItemLongPressEventArgs()

    Properties

    Handled

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

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

    Node

    Gets the data object associated with the TreeViewItem at the long pressed position.

    Declaration
    public TreeViewNode Node { get; }
    Property Value
    Type Description
    TreeViewNode

    An object that represents the item at the long pressed position.

    Position

    Gets the touch position at the long pressed position.

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

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

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