Visual Basic (Declaration) | |
---|---|
<BrowsableAttribute(False)> Public ReadOnly Property SelectedItems As RasterImageListItemCollection |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterImageList Dim value As RasterImageListItemCollection value = instance.SelectedItems |
C# | |
---|---|
[BrowsableAttribute(false)] public RasterImageListItemCollection SelectedItems {get;} |
C++/CLI | |
---|---|
[BrowsableAttribute(false)] public: property RasterImageListItemCollection^ SelectedItems { 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.For an example, refer to Image.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7