Table of Contents

Class ImageSizeFallbackOptions

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Specifies size fallback options for image retrieval.

public class ImageSizeFallbackOptions : ImmutableObject, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IImmutableObject, IDisposableObject, IDisposable, IBaseObject
Inheritance
ImageSizeFallbackOptions
Implements
Extension Methods

Properties

AddScaled

Gets or sets a value indicating whether to add the scaled image to the container.

AllowScaled

Gets or sets a value indicating whether to allow scale operations when retrieving an image with a size that does not exactly match any image in the container.

DownscaleFirst

Gets or sets a value indicating whether to downscale or upscale the retrieved image to match the requested size if no exact match is found. This is used when AllowScaled is set to true and the container contains images of varying sizes.

Size

Gets or sets the specific size for image retrieval.

SizeFallback

Gets or sets an array of image size fallback strategies to apply when retrieving an image.

SizeKind

Gets or sets the size kind for image retrieval.