Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- index
- Index of the requested thumbnail.
Return Value
ImGearThumbnailItem class object.C# | Copy Code |
---|---|
// Delete the first selected item found. for (int index = 0; index < igThumbnailCtl.Count; index++) { ImGearThumbnailItem igThumbnailItem = igThumbnailCtl.Item(index); if (igThumbnailItem.Selected) { igThumbnailCtl.DeleteItem(igThumbnailItem); break; } } |
Visual Basic | Copy Code |
---|---|
' Delete the first selected item found. For index As Integer = 0 To igThumbnailCtl.Count - 1 Dim igThumbnailItem As ImGearThumbnailItem = igThumbnailCtl.Item(index) If igThumbnailItem.Selected Then igThumbnailCtl.DeleteItem(igThumbnailItem) Exit For End If Next |