isEnabled Property

Summary

Indicates if this item is enabled.

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewerItem.prototype, 'isEnabled', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
isEnabled: 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

JavaScript Example
this._imageViewer.beginUpdate(); 
var item = this._imageViewer.items.item(0); 
item.isEnabled = !item.isEnabled; 
alert("_imageViewer.items.item(0).isEnabled = " + item.isEnabled.toString()); 
this._imageViewer.endUpdate(); 

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly