Wisej.Web.ImageList ImageCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.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 .
Wisej.Web.ImageList
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.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.
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.
index
Returns: Image.
Returns the properties for the entry at the index.
index
Returns: ImagePropertySettings.
Returns the properties for the entry identified by the key.
key
Returns: ImagePropertySettings.
Returns the URL to send back to the server, it will be processed as a postback service by this component.
index
Returns: String.
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
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.
Wisej.Web.ImageListEntry
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.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 .
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 .
image
key
The name to assigned to the image .
Initializes a new instance of ImageListEntry and sets the value of the ImageSource property to the provided source .
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 .
source
key
The name to assigned to the source image.
Single: Returns the horizontal resolution, in pixels per inch, of this Image.
Image: Returns or sets the image.
ImagePropertySettings: Creates the property manager for the Image properties on first use.
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.
An that represents the container of the .
Initial .
Initial .
Initial source for the property.
Initial source for the property.