Error processing SSI file
(Leadtools.Controls)

Show in webframe

IsEnabled Property (ImageViewerItem)




Indicates if this item is enabled.
Syntax
public bool IsEnabled {get; set;}
'Declaration
 
Public Property IsEnabled As Boolean

Property Value

true if this item is enabled, otherwise; false. Default value is true.
Remarks

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.

Example
Copy Code  
Imports Leadtools
Imports Leadtools.Controls
Imports Leadtools.Codecs
Imports Leadtools.Drawing
Imports Leadtools.ImageProcessing
Imports Leadtools.ImageProcessing.Color

_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()
using Leadtools;
using Leadtools.Controls;
using Leadtools.Codecs;
using Leadtools.Drawing;
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();
Requirements

Target Platforms

See Also

Reference

ImageViewerItem Class
ImageViewerItem Members

Error processing SSI file