Skip to main content
Version: 4.1

ImageListEntry

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents an entry in the ImageList component.

public class ImageListEntry : IDisposable

Constructors

Instance member ImageListEntry()

Initializes a new instance of ImageListEntry.

Instance member ImageListEntry(image)

Initializes a new instance of ImageListEntry and sets the value of the Image property to the provided image .

NameTypeDescription
imageImageInitial Image.

Instance member ImageListEntry(image, key)

Initializes a new instance of ImageListEntry and sets the value of the Image property to the provided image and Name to the provided key .

NameTypeDescription
imageImageInitial Image.
keyStringThe name to assigned to the image .

Instance member ImageListEntry(source)

Initializes a new instance of ImageListEntry and sets the value of the ImageSource property to the provided source .

NameTypeDescription
sourceStringInitial source for the ImageSource property.

Instance member ImageListEntry(source, key)

Initializes a new instance of ImageListEntry and sets the value of the ImageSource property to the provided source and Name to the provided key .

NameTypeDescription
sourceStringInitial source for the ImageSource property.
keyStringThe name to assigned to the source image.

Properties

Instance member HorizontalResolution

Single: Returns the horizontal resolution, in pixels per inch, of this Image.

Instance member Image

Image: Returns or sets the image.

Instance member ImageSource

String: Returns or sets the source of the image, it can be a URL or a name of a themed image.

Instance member Name

String: Returns or sets the name (key) of the image in the image list.

Instance member PhysicalDimension

SizeF: Returns the width and height of this image.

Instance member PixelFormat

PixelFormat: Returns the pixel format for this Image.

Instance member RawFormat

ImageFormat: Returns the file format of this Image.

Instance member Size

Size: Returns the width and height, in pixels, of this image.

Instance member TransparentImage

Image: Returns the Image made transparent according to the value of TransparentColor.

Instance member VerticalResolution

Single: Returns the vertical resolution, in pixels per inch, of this Image.

Methods

Instance member Dispose()

Resets the references to the images.