This documentation is for the old version. Go to the latest Graphics Mill docs

ListItemCollection Class

This class represents storage for list items the ThumbnailListView control.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)

Syntax

Visual Basic
<DefaultMemberAttribute("Item")> _
Public NotInheritable Class ListItemCollection _
	Inherits CollectionBase _
	Implements IList, ICollection, IEnumerable
C#
[DefaultMemberAttribute("Item")]
public sealed class ListItemCollection : CollectionBase, IList, 
	ICollection, IEnumerable

Remarks

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.

Inheritance Hierarchy

System.Object
L System.Collections.CollectionBase
L Aurigma.GraphicsMill.WinControls.ListItemCollection

Thread Safety

Static members of this type are safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.

Object Model






See Also

Reference