LongPressGestureRecognizer.State Property

Definition

Gets the current state of the gesture. This property is updated in real-time on iOS and Mac Catalyst. On Android and Windows, it transitions directly from Canceled to Completed.

public:
 property Microsoft::Maui::GestureStatus State { Microsoft::Maui::GestureStatus get(); };
public Microsoft.Maui.GestureStatus State { get; }
member this.State : Microsoft.Maui.GestureStatus
Public ReadOnly Property State As GestureStatus

Property Value

Applies to