IImageExtensions

Wisej.Web.Markup.IImageExtensions

Namespace: Wisej.Web.Markup

Assembly: Wisej.Framework (4.0.0.0)

Adds fluent markup extension methods to the IImage interface.

public class IImageExtensions

Methods

Image<TImage>(target, value)

Sets the image for the specified target.

Parameter
Type
Description

TImage

The type of the target, which must implement IImage.

target

The target object on which to set the image.

value

The image to set.

Returns: TImage. The target object with the updated image.

ImageAlign<TImage>(target, value)

Sets the image alignment for the specified target.

Parameter
Type
Description

TImage

The type of the target, which must implement IImage.

target

The target object on which to set the image alignment.

value

The image alignment to set.

Returns: TImage. The target object with the updated image alignment.

ImageIndex<TImage>(target, value)

Sets the image index for the specified target.

Parameter
Type
Description

TImage

The type of the target, which must implement IImage.

target

The target object on which to set the image index.

value

The image index to set.

Returns: TImage. The target object with the updated image index.

ImageKey<TImage>(target, value)

Sets the image key for the specified target.

Parameter
Type
Description

TImage

The type of the target, which must implement IImage.

target

The target object on which to set the image key.

value

The image key to set.

Returns: TImage. The target object with the updated image key.

ImageList<TImage>(target, value)

Sets the image list for the specified target.

Parameter
Type
Description

TImage

The type of the target, which must implement IImage.

target

The target object on which to set the image list.

value

The image list to set.

Returns: TImage. The target object with the updated image list.

ImageSource<TImage>(target, value)

Sets the image source for the specified target.

Parameter
Type
Description

TImage

The type of the target, which must implement IImage.

target

The target object on which to set the image source.

value

The image source to set.

Returns: TImage. The target object with the updated image source.

Last updated

Was this helpful?