Wisej.Web.ImageList
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides methods to manage a collection of Image objects. This class cannot be inherited.
Initializes a new instance of the ImageList without a specified container.
Initializes a new instance of the ImageList class with a specified container.
ImageCollection: Returns the ImageCollection for this image list. (Default: null
)
Size: Returns or sets the size of the images in the image list.
Throws:
ArgumentException The value assigned is equal to IsEmpty; or the value of the height or width is less than or equal to 0; or the value of the height or width is greater than 256.
ArgumentOutOfRangeException The new size has a dimension less than 0 or greater than 256.
Object: Returns or sets an object that contains additional data about the ImageList. (Default: null
)
Color: Returns or sets the color to treat as transparent.
Wisej.Web.ImageList ImageCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
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.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Represents an entry in the component.
Initializes a new instance of .
Initializes a new instance of and sets the value of the property to the provided image .
Name | Type | Description |
---|
Initializes a new instance of and sets the value of the property to the provided image and to the provided key .
Name | Type | Description |
---|
Initializes a new instance of and sets the value of the property to the provided source .
Name | Type | Description |
---|
Initializes a new instance of and sets the value of the property to the provided source and to the provided key .
Name | Type | Description |
---|
: Returns the horizontal resolution, in pixels per inch, of this .
: Returns or sets the image.
: Returns or sets the source of the image, it can be a URL or a name of a themed image.
: Returns or sets the name (key) of the image in the image list.
: Returns the width and height of this image.
: Returns the pixel format for this .
: Returns the file format of this .
: Returns the width and height, in pixels, of this image.
: Returns the made transparent according to the value of .
: Returns the vertical resolution, in pixels per inch, of this .
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.
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 |
---|
container
An IContainer that represents the container of the ToolTip.
All wisej components implement this interface.
Represents a Wisej component that is capable of handling postback requests from the client.
Allows an object to serialize itself.
image |
image |
key | The name to assigned to the image . |
source |
source |
key | The name to assigned to the source image. |
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 |
Initial .
Initial .
Initial source for the property.
Initial source for the property.
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 .