ImageList
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Provides methods to manage a collection of Image objects. This class cannot be inherited.
- C#
- VB.NET
public sealed class ImageList : Component, IWisejHandler
Public NotInheritable Class ImageList
Inherits Component
Implements IWisejHandler
Constructors
ImageList()
Initializes a new instance of the ImageList without a specified container.
ImageList(container)
Initializes a new instance of the ImageList class with a specified container.
| Name | Type | Description |
|---|---|---|
| container | IContainer | An IContainer that represents the container of the ToolTip. |
Properties
Images
ImageCollection: Returns the ImageCollection for this image list. (Default: null)
Value: The collection of images.
ImageSize
Size: Returns or sets the size of the images in the image list.
Value: The Size that defines the height and width, in pixels, of the images in the list. The default size is 16 by 16. The maximum size is 256 by 256.
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.
Tag
Object: Returns or sets an object that contains additional data about the ImageList. (Default: null)
Value: An Object that contains additional data about the ImageList.
TransparentColor
Color: Returns or sets the color to treat as transparent.
Value: One of the Color values. The default is Transparent.
Implements
| Name | Description |
|---|---|
| IUserData | Provides access to the UserData and Tag properties associated to the component implementing this interface. |
| IWisejComponent | All wisej components implement this interface. |
| IWisejHandler | Represents a Wisej component that is capable of handling postback requests from the client. |
| IWisejSerializable | Allows an object to serialize itself. |