Indicates whether the item is in a selected state.
public bool IsSelected { get; set; }
public:
property bool IsSelected
{
bool get()
void set(bool value)
}
true if this item is in a selected state, otherwise; false. Default value is false.
Selected items (the value of IsSelected is true) may be rendered differently than non-selected items as described in Image Viewer Appearance.
Select and GetSelected can be used to select multiple items at once and get all the selected items in the viewer respectively.
ImageViewerSelectItemsInteractiveMode can be used to select items in the viewer using mouse, touch or keyboard in a manner similar to an "image list" application such as Windows Explorer in Thumbnail View.
For more information, refer Image Viewer Items.
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].IsSelected = !_imageViewer.Items[0].IsSelected;
Debug.WriteLine(string.Format("_imageViewer.Items[0].IsSelected = {0}", _imageViewer.Items[0].IsSelected));
_imageViewer.EndUpdate();
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document