Wisej.Web.ImageList
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.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.
Name | Type | Description |
---|---|---|
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.
Name | Description |
---|---|
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.
container
An IContainer that represents the container of the ToolTip.
Wisej.Web.ImageListEntry
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.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 .
Name | Type | Description |
---|---|---|
Initializes a new instance of ImageListEntry and sets the value of the Image property to the provided image and Name to the provided key .
Name | Type | Description |
---|---|---|
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.1.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.
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.
Adds an array of ImageListEntry to the collection.
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 .
Returns: Boolean. True if the collection contains the specified image .
Finds if the collection contains the image key .
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.
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.
Returns: Int32. The index of the specified key in the collection; otherwise -1 if not found.
Inserts the ImageListEntry at the specified index.
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 |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
source
Initial source for the ImageSource property.
source
Initial source for the ImageSource property.
key
The name to assigned to the source image.
key
The key associated with the image .
image
An Image to add to the list.
key
The key associated with the imageSource .
imageSource
The name or URL of the image to add to the list.
image
An Image to add to the list.
imageSource
The name or URl of the image to add to the list.
entry
The ImageListEntry to add to the collection.
entries
An array of ImageListEntry objects
image
The Image to locate in the collection.
key
The key to locate in the collection.
image
The Image to located in the collection.
key
The key to located in the collection.
index
The position in the collection where to add the entry .
entry
The ImageListEntry to add to the collection at the specified index .
image
The Image to remove from the collection.
index
The index of the ImageListEntry to remove from the collection.
key
The key of the ImageListEntry to remove from the collection.
index
The index of the ImageListEntry to change.
name
The new name of the ImageListEntry at the specified index .
image
Initial Image.
image
Initial Image.
key
The name to assigned to the image .