Wisej.Web.ImageListEntry
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents an entry in the ImageList component.
Initializes a new instance of ImageListEntry.
Initializes a new instance of ImageListEntry and sets the value of the Image property to the provided image .
Initializes a new instance of ImageListEntry and sets the value of the Image property to the provided image and Name to the provided key .
Initializes a new instance of ImageListEntry and sets the value of the ImageSource property to the provided source .
Initializes a new instance of ImageListEntry and sets the value of the ImageSource property to the provided source and Name to the provided key .
Single: Returns the horizontal resolution, in pixels per inch, of this Image.
Image: Returns or sets the image.
String: Returns or sets the source of the image, it can be a URL or a name of a themed image.
String: Returns or sets the name (key) of the image in the image list.
SizeF: Returns the width and height of this image.
PixelFormat: Returns the pixel format for this Image.
ImageFormat: Returns the file format of this Image.
Size: Returns the width and height, in pixels, of this image.
Image: Returns the Image made transparent according to the value of TransparentColor.
Single: Returns the vertical resolution, in pixels per inch, of this Image.
Resets the references to the images.
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 | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Provides methods to manage a collection of objects. This class cannot be inherited.
Initializes a new instance of the without a specified container.
Initializes a new instance of the class with a specified container.
Name | Type | Description |
---|
: Returns the for this image list. (Default: null
)
: Returns or sets the size of the images in the image list.
The value assigned is equal to ; 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.
The new size has a dimension less than 0 or greater than 256.
: Returns or sets an object that contains additional data about the . (Default: null
)
: Returns or sets the color to treat as transparent.
Name | Description |
---|
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 |
---|
image
Initial Image.
image
Initial Image.
key
The name to assigned to the image .
source
Initial source for the ImageSource property.
source
Initial source for the ImageSource property.
key
The name to assigned to the source image.
container |
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. |
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 that represents the container of the .
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 .