←Select platform

StopListening Method

Summary

Stops listening to the TargetElement events.

Syntax

C#
VB
Java
Objective-C
WinRT C#
public void StopListening() 
Public Sub StopListening()  
public void StopListening() 
- (void)stopListening 
public void stopListening() 
 function Leadtools.Controls.InteractiveService.StopListening() 

Remarks

Calling this method will cause the service to unhook from the TargetElement events. The Tap, DoubleTap, Hold, DragStarted, DragDelta, DragCompleted will not fire after StopListening is called.

The ImageViewer will automatically call StopListening on its instance of InteractiveService when it is disposed.

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)