ImageList.ImageCollection
Wisej.Web.ImageList ImageCollection
Last updated
Wisej.Web.ImageList ImageCollection
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Encapsulates the collection of objects in an .
: Returns the number of in the collection.
: Returns the image at the index.
: Returns the first image identified by the key.
: Returns a collection with all the image keys.
Adds the image to the collection.
Adds the image source to the collection.
Adds the specified image to the collection.
Adds the specified imageSource to the collection.
Adds the image entry to the collection.
Throws:
Removes all images from the collection.
Finds if the collection contains the image .
Finds if the collection contains the image key .
Returns an enumerator that iterates the images in the collection.
Returns the index of the image in the collection.
Returns the index of the image key in the collection.
Removes the image from the collection.
Removes the image at the specified index from the collection.
Removes the images identified by the key from the collection.
Sets the key (name) associated with the image.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Adds an array of to the collection.
Parameter | Type | Description |
---|
entries is null.
entries is the child of another .
Parameter | Type | Description |
---|
Returns: . True if the collection contains the specified image .
Parameter | Type | Description |
---|
Returns: . True if the collection contains the specified key .
Returns: .
Parameter | Type | Description |
---|
Returns: . The index of the specified image in the collection; otherwise -1 if not found.
Parameter | Type | Description |
---|
Returns: . The index of the specified key in the collection; otherwise -1 if not found.
Inserts the at the specified index.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
key | The key associated with the image . |
image |
key | The key associated with the imageSource . |
imageSource | The name or URL of the image to add to the list. |
image |
imageSource | The name or URl of the image to add to the list. |
entry |
entries |
image |
key | The key to locate in the collection. |
image |
key | The key to located in the collection. |
index | The position in the collection where to add the entry . |
entry |
image |
index |
key |
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 .