←Select platform

IsHandled Property

Summary

Indicates whether this event is handled.

Syntax
C#
C++/CLI
public bool IsHandled { 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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.