←Select platform

IsEnabled Property

Summary

Indicates if this mode is currently enabled and can work.

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

Property Value

true if this mode is currently enabled and can work, otherwise; false.

Remarks

IsEnabled must be set to true for an interactive mode to work. When multiple interactive modes are added to the viewer, the IsEnabled property can be used to designate the current "active" one that can perform actions. For more information, refer to Image Viewer Interactive Modes.

Example

For an example, refer to ImageViewerInteractiveModes.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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