ImageList

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.

public class ImageList : Component, 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

An IContainer that represents the container of the ToolTip.

Properties

Images

ImageCollection: Returns the ImageCollection for this image list. (Default: null)

ImageSize

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.

Tag

Object: Returns or sets an object that contains additional data about the ImageList. (Default: null)

TransparentColor

Color: Returns or sets the color to treat as transparent.

Methods

GetImage(index)

Parameter
Type
Description

index

Returns: Image.

GetImageSettings(index)

Returns the properties for the entry at the index.

Parameter
Type
Description

index

Returns: ImagePropertySettings.

GetImageSettings(key)

Returns the properties for the entry identified by the key.

Parameter
Type
Description

Returns: ImagePropertySettings.

GetSource(index)

Returns the URL to send back to the server, it will be processed as a postback service by this component.

Parameter
Type
Description

index

Returns: String.

Implements

Name
Description

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.

Last updated

Was this helpful?