←Select platform

SelectedItems Property

Summary

Gets the items that are selected in the control.

Syntax

C#
VB
C++
public RasterImageListItemCollection SelectedItems { get; } 
  
<BrowsableAttribute(False)> 
Public ReadOnly Property SelectedItems As Leadtools.Winforms.RasterImageListItemCollection 
[BrowsableAttribute(false)] 
public: 
property Leadtools.Winforms.RasterImageListItemCollection^ SelectedItems { 
   Leadtools.Winforms.RasterImageListItemCollection^ get(); 
} 

Property Value

A RasterImageListItemCollection that contains the items that are selected in the control. If no items are currently selected, an empty RasterImageListItemCollection is returned.

Remarks

When the SelectionMode property is set to RasterImageListSelectionMode.Multi, this property returns a collection containing the items that are selected in the RasterImageList. For a single-selection RasterImageList, this property returns a collection containing the only selected item in the RasterImageList. For more information on the tasks that can be performed with the items in the collection, see RasterImageListItemCollection.

Example

For an example, refer to Image.

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.WinForms Assembly