Indicates if this item is enabled.
public bool IsEnabled { get; set; } Public Property IsEnabled() As BooleanGetSet
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 LeadtoolsImports Leadtools.ControlsImports Leadtools.CodecsImports Leadtools.DrawingImports Leadtools.ImageProcessingImports Leadtools.ImageProcessing.ColorImports LeadtoolsControlsExamples.LeadtoolsExamples.Common_imageViewer.BeginUpdate()_imageViewer.Items(0).IsEnabled = Not _imageViewer.Items(0).IsEnabledMessageBox.Show(String.Format("_imageViewer.Items[0].IsEnabled = {0}", _imageViewer.Items(0).IsEnabled))_imageViewer.EndUpdate()
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
