ImageList.ImageCollection
Wisej.Web.ImageList ImageCollection
Last updated
Wisej.Web.ImageList ImageCollection
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Encapsulates the collection of ImageListEntry objects in an ImageList.
Int32: Returns the number of ImageListEntry in the collection.
ImageListEntry: Returns the image at the index.
ImageListEntry: Returns the first image identified by the key.
List<String>: Returns a collection with all the image keys.
Adds the image to the collection.
key
The key associated with the image .
image
Adds the image source to the collection.
key
The key associated with the imageSource .
imageSource
The name or URL of the image to add to the list.
Adds the specified image to the collection.
image
Adds the specified imageSource to the collection.
imageSource
The name or URl of the image to add to the list.
Adds the image entry to the collection.
entry
Adds an array of ImageListEntry to the collection.
entries
Throws:
ArgumentNullException entries is null.
ArgumentException entries is the child of another TreeView.
Removes all images from the collection.
Finds if the collection contains the image .
image
Returns: Boolean. True if the collection contains the specified image .
Finds if the collection contains the image key .
key
The key to locate in the collection.
Returns: Boolean. True if the collection contains the specified key .
Returns an enumerator that iterates the images in the collection.
Returns: IEnumerator.
Returns the index of the image in the collection.
image
Returns: Int32. The index of the specified image in the collection; otherwise -1 if not found.
Returns the index of the image key in the collection.
key
The key to located in the collection.
Returns: Int32. The index of the specified key in the collection; otherwise -1 if not found.
Inserts the ImageListEntry at the specified index.
index
The position in the collection where to add the entry .
entry
Removes the image from the collection.
image
Removes the image at the specified index from the collection.
index
Removes the images identified by the key from the collection.
key
Sets the key (name) associated with the image.
index
name
An to add to the list.
An to add to the list.
The to add to the collection.
An array of objects
The to locate in the collection.
The to located in the collection.
The to add to the collection at the specified index .
The to remove from the collection.
The index of the to remove from the collection.
The key of the to remove from the collection.
The index of the to change.
The new name of the at the specified index .