GestureRecognizer.CompleteGesture Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Causes the gesture recognizer to finalize an interaction.
public:
virtual void CompleteGesture() = CompleteGesture;
void CompleteGesture();
public void CompleteGesture();
function completeGesture()
Public Sub CompleteGesture ()
Remarks
This method sets IsActive and IsInertial to false, based on the current state of the interaction. Depending on the interaction one of the following events is raised:
- A ManipulationCompleted event.
- A CrossSliding event with a CrossSlidingState of Completed.
- A Holding event with a HoldingState of Completed.
- A Dragging event with a DraggingState of Completed.
Applies to
See also
- Input and interactions
- User interaction mode sample
- Focus visuals sample
- Input: Device capabilities sample
- Input: Simplified ink sample
- Input: Windows 8 gestures sample
- Input: XAML user input events sample
- XAML scrolling, panning, and zooming sample
- DirectX touch input sample
- Input: Manipulations and gestures (C++) sample
- Input: Touch hit testing sample
- Input source identification sample
- Touch injection sample
- Win32 touch hit-testing sample