IsEnabled Property (original) (raw)

Summary

Indicates if this item is enabled.

Syntax

public bool IsEnabled { get; set; } 

public: property bool IsEnabled { bool get() void set(bool value) }

Property Value

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

Example

using Leadtools; using Leadtools.Controls; using Leadtools.Codecs; using Leadtools.Drawing; using Leadtools.ImageProcessing; using Leadtools.ImageProcessing.Color; using Leadtools.Svg; _imageViewer.BeginUpdate(); _imageViewer.Items[0].IsEnabled = !_imageViewer.Items[0].IsEnabled; Debug.WriteLine(string.Format("_imageViewer.Items[0].IsEnabled = {0}", _imageViewer.Items[0].IsEnabled)); _imageViewer.EndUpdate();