←Select platform

IsHandled Property

Summary

Indicates whether this event is handled.

Syntax

C#
VB
C++
public bool IsHandled { get; set; } 
Public Property IsHandled() As Boolean 
   Get 
   Set 
public: 
   property bool IsHandled 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true if this event is handled, otherwise; false. Default value is false.

Remarks

IsHandled is used by the ImageViewerInteractiveMode to indicate that a mode has handled the event. Disregarding the value of this property or not setting it to true can allow multiple enabled modes to respond to a single interactive event.

Typically, in order to determine that an interactive mode should try to respond to an event, ImageViewerInteractiveMode.CanStartWork is called. This method will return false if IsHandled is already true. If the method returns false, the mode should take no action; however, some interactive modes are designed to work regardless of the value of IsHandled or the result of ImageViewerInteractiveMode.CanStartWork.

For more information, refer to Image Viewer Interactive Modes.

Requirements

Target Platforms

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

Leadtools.Controls.WinForms Assembly