Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > ImageViewerItem Class : IsEnabled Property |
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.
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();