TCnImageCollection Class

Encapsulates the collection of Image objects in an TCnImageList .

Namespace: CNClrLib.Component.ImageList
TCollection
  CNClrLib.Component.ImageList.TCnImageCollection
type
 TCnImageCollection = class(TCollection)
 end;

The TCnImageCollection type exposes the following members.

Show:
 NameDescription
Create(TCnImageList)

Creates and initializes a TCnImageCollection instance.

Top
Show:
 NameDescription
ImageCollection

Encapsulates the collection of .Net Image objects in an ImageList.

ImageList

Provides methods to manage a collection of Image objects.

ItemsS[String]

Gets an Image with the specified key from the collection.

Items[Integer]

Gets or sets an Image at the specified index within the collection.

Top
Show:
 NameDescription
Add

Overloaded. Adds the specified image to the ImageList.

Add(String,TClrImage)

Overloaded. Adds an image with the specified key to the end of the collection.

Add(TClrImage)

Overloaded. Adds the specified image to the ImageList.

AddRange(TArray)

Overloaded. Adds an array of images to the collection.

AddRange(_ImageArray)

Overloaded. Adds an array of images to the collection.

GetEnumerator

Returns an enumerator that can be used to iterate through the item collection.

GetOwner

Represents method GetOwner.

IsEqual(TCnImageCollection)

Represents method IsEqual(TCnImageCollection).

Notify(TCollectionItem,TCollectionNotification)

Represents method Notify(TCollectionItem,TCollectionNotification).

Owner

Gets the owner of the ImageCollection class.

Refresh

Refresh the content of the ImageCollection.

SetKeyName(Integer,String)

Sets the key for an image in the collection.

Top