Skip to main content
Version: 4.1

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.

public sealed class ImageList : Component, IWisejHandler

Constructors​

Instance member ImageList()​

Initializes a new instance of the ImageList without a specified container.

Instance member ImageList(container)​

Initializes a new instance of the ImageList class with a specified container.

NameTypeDescription
containerIContainerAn IContainer that represents the container of the ToolTip.

Properties​

Instance member Images​

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

Value: The collection of images.

Instance member 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.

Instance member 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.

Instance member TransparentColor​

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

Value: One of the Color values. The default is Transparent.

Implements​

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IWisejComponentAll wisej components implement this interface.
IWisejHandlerRepresents a Wisej component that is capable of handling postback requests from the client.
IWisejSerializableAllows an object to serialize itself.