Expand Minimize

GestureRecognizer.Dragging | dragging event

Applies to Windows and Windows Phone

Occurs when a user performs a slide or swipe gesture with a mouse or pen/stylus (single contact).

Syntax


public:
event TypedEventHandler<GestureRecognizer, DraggingEventArgs>^ Dragging {
   Windows::Foundation::EventRegistrationToken add(TypedEventHandler<GestureRecognizer, DraggingEventArgs>^ value);
   void remove(Windows::Foundation::EventRegistrationToken token);
}

Event information

Delegate TypedEventHandler<GestureRecognizer, DraggingEventArgs>

Remarks

Drag must be set in the GestureSettings property to support Dragging.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Input
Windows::UI::Input [C++]

Metadata

Windows.winmd

See also

GestureRecognizer
TypedEventHandler
DraggingEventArgs

 

 

Show:
© 2014 Microsoft