Class LongPressGesture

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    A long press gesture is emitted when the user holds the screen with the stated number of fingers.
    A long press gesture finishes when all touches have been released.

    public class LongPressGesture : Gesture, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    Gesture
    LongPressGesture
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable

    Constructors

    View Source

    LongPressGesture(StateType)

    The constructor.

    Declaration
    public LongPressGesture(Gesture.StateType state)
    Parameters
    Type Name Description
    Gesture.StateType state

    The state of the gesture

    Properties

    View Source

    LocalPoint

    This is the point, in local actor coordinates, where the long press occurred.
    If a multi-touch long press, then this is the centroid of all the touch points.

    Declaration
    public Vector2 LocalPoint { get; }
    Property Value
    Type Description
    Vector2
    View Source

    NumberOfTouches

    The number of touch points in this long press gesture, i.e., the number of fingers the user had on the screen to generate the long press gesture.

    Declaration
    public uint NumberOfTouches { get; }
    Property Value
    Type Description
    uint
    View Source

    ScreenPoint

    This is the point, in screen coordinates, where the long press occurred.
    If a multi-touch long press, then this is the centroid of all the touch points.

    Declaration
    public Vector2 ScreenPoint { get; }
    Property Value
    Type Description
    Vector2

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX