Indicates if this item is enabled.
public bool IsEnabled { get; set; }
Public Property IsEnabled() As Boolean
Get
Set
public:
property bool IsEnabled
{
bool get()
void set(bool value)
}
true if this item is enabled, otherwise; false. Default value is true.
Inactive items (the value of IsEnabled is false) are rendered and participate in layout calculations but do not respond to interactive mode events.
For more information, refer Image Viewer Items, Image Viewer Layouts, Image Viewer Rendering and Image Viewer Interactive Modes.
using Leadtools;
using Leadtools.Controls;
using Leadtools.Codecs;
using Leadtools.Drawing;
using LeadtoolsExamples.Common;
using Leadtools.ImageProcessing;
using Leadtools.ImageProcessing.Color;
_imageViewer.BeginUpdate();
_imageViewer.Items[0].IsEnabled = !_imageViewer.Items[0].IsEnabled;
MessageBox.Show(string.Format("_imageViewer.Items[0].IsEnabled = {0}", _imageViewer.Items[0].IsEnabled));
_imageViewer.EndUpdate();
Imports Leadtools
Imports Leadtools.Controls
Imports Leadtools.Codecs
Imports Leadtools.Drawing
Imports Leadtools.ImageProcessing
Imports Leadtools.ImageProcessing.Color
Imports LeadtoolsControlsExamples.LeadtoolsExamples.Common
_imageViewer.BeginUpdate()
_imageViewer.Items(0).IsEnabled = Not _imageViewer.Items(0).IsEnabled
MessageBox.Show(String.Format("_imageViewer.Items[0].IsEnabled = {0}", _imageViewer.Items(0).IsEnabled))
_imageViewer.EndUpdate()
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document