Leadtools.Controls Namespace > ImageViewerItem Object : IsEnabled Property |
get_isEnabled();
set_isEnabled(value);
Object.defineProperty('isEnabled');
Type | Description |
---|---|
boolean | 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.
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();