Represents the collection of items in a RasterImageList control.
public class RasterImageListItemCollection : Leadtools.Leadtools.RasterCollection<RasterImageListItem>, System.Collections.Generic.ICollection<RasterImageListItem>, System.Collections.Generic.IEnumerable<RasterImageListItem>, System.Collections.Generic.IList<RasterImageListItem>, System.Collections.IEnumerable
Public Class RasterImageListItemCollection
Inherits Leadtools.Leadtools.RasterCollection(Of RasterImageListItem)
Implements System.Collections.Generic.ICollection(Of RasterImageListItem), System.Collections.Generic.IEnumerable(Of RasterImageListItem), System.Collections.Generic.IList(Of RasterImageListItem), System.Collections.IEnumerable
public ref class RasterImageListItemCollection : public Leadtools.Leadtools.RasterCollection<RasterImageListItem>, System.Collections.Generic.ICollection<RasterImageListItem>, System.Collections.Generic.IEnumerable<RasterImageListItem>, System.Collections.Generic.IList<RasterImageListItem>, System.Collections.IEnumerable
A RasterImageListItemCollection stores the items displayed in the RasterImageList control.
There are a number of ways to add items to the collection. The Add method adds a single item to the collection. To add a number of items to the collection, you create an array of items and pass it to the AddRange method. If you want to insert an item at a specific location in the collection, you can use the Insert method. To remove items, you can use either the Remove method or the RemoveAt method if you know where the item is located in the collection. The Clear method enables you to remove all items from the collection instead of using the Remove method to remove a single item at a time.
In addition to methods and properties for adding and removing items, the RasterImageListItemCollection also provides methods to find items in the collection. The Contains method enables you to determine whether an item is a member of the collection. Once you know that the item is located in the collection, you can use the IndexOf method to determine where the item is located in the collection.
NOTE: You cannot add an RasterImageListItem to more than one RasterImageList control at the same time. If you attempt to do this, an exception will be thrown.
Products |
Support |
Feedback: RasterImageListItemCollection Class - Leadtools.WinForms |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.