Class Gesture

    Definition

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

    Base structure for different gestures that an application can receive.
    A Gesture is an event that is produced from a combination of several touch events in a particular order or within a certain time frame (for example, pinch).

    public class Gesture : BaseHandle, IDynamicResourceHandler, INameScope, System.IDisposable
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    Gesture
    Derived
    LongPressGesture
    PanGesture
    PinchGesture
    RotationGesture
    TapGesture
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Constructors

    View Source

    Gesture(Gesture)

    The Copy constructor.

    Declaration
    public Gesture(Gesture rhs)
    Parameters
    Type Name Description
    Gesture rhs

    A reference to the copied handle

    Properties

    View Source

    Source

    This is the property of which source type the gesture (read-only). If you started the gesture with the mouse, it will tell you what type of mouse it is.

    Declaration
    public Gesture.SourceType Source { get; }
    Property Value
    Type Description
    Gesture.SourceType
    View Source

    SourceData

    This is a property of the source type data (read-only). If you started the gesture with the mouse, it will tell you which mouse button you started the gesture with.

    Declaration
    public Gesture.SourceDataType SourceData { get; }
    Property Value
    Type Description
    Gesture.SourceDataType
    View Source

    State

    Gets the state of gesture.

    Declaration
    public Gesture.StateType State { get; }
    Property Value
    Type Description
    Gesture.StateType
    View Source

    Time

    Get the time when the gesture took place.

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

    Type

    Gets the type of gesture.

    Declaration
    public Gesture.GestureType Type { get; }
    Property Value
    Type Description
    Gesture.GestureType

    Methods

    View Source

    ReleaseSwigCPtr(HandleRef)

    Declaration
    protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef swigCPtr
    Overrides
    BaseHandle.ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef)

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Extension Methods

    BindableObjectExtensions.SetBinding(BindableObject, BindableProperty, string, BindingMode, IValueConverter, string)
    NameScopeExtensions.FindByName<T>(Element, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX