This class represents storage for list items the ThumbnailListView control.
Namespace:
Aurigma.GraphicsMill.WinControls
Assembly:
Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
<DefaultMemberAttribute("Item")> _ Public NotInheritable Class ListItemCollection _ Inherits CollectionBase _ Implements IList, ICollection, IEnumerable
[DefaultMemberAttribute("Item")] public sealed class ListItemCollection : CollectionBase, IList, ICollection, IEnumerable
This class is never created directly and available only through the Items of the ThumbnailListView control. Use it to work with items displayed in this contol.
To add new items, use the Add(IListItem[]) method. Also, you can insert items to specified position using the Insert(Int32, IListItem[]) method. In both cases ItemInserting and ItemsInserted events will be raised.
To remove items, use the Remove(IListItem[]) or RemoveAt(Int32) method. If it is necessary to remove all methods from the collection. To handle items removal, you can use ItemRemoving and ItemsRemoved events.
To get access to items stored in this collection, use the Item[Int32] property. Also, if you want to get items which meet some criteria (e.g. all selected items), use the GetItemsByState(StateType, Boolean, Boolean) method.