LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
CancelInteractiveMode Method
See Also 
Leadtools.Windows.Controls Namespace > ImageViewer Class : CancelInteractiveMode Method



Cancels the current interactive mode. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Overridable Sub CancelInteractiveMode() 
Visual Basic (Usage)Copy Code
Dim instance As ImageViewer
 
instance.CancelInteractiveMode()
C# 
public virtual void CancelInteractiveMode()
C++/CLI 
public:
virtual void CancelInteractiveMode(); 

Example

For C#/VB examples, refer to ImageViewer.IsInteractiveModeBusy.

Remarks

Use this method to cancel any interactive modes currently being performed in the control. Use the ImageViewer.IsInteractiveModeBusy property to check if the control is currently performing an interactive mode operation.

You can also cancel the interactive mode by subscribing to the corresponding OnInteractiveXYZ event and setting the InteractiveEventArgs.Cancel property. The CancelInteractiveMode method provide a general purpose canceling method even if the control is not currently busy.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also