Class DisplayScaledImages
Chooses between regular and high-DPI image and/or scales images depending on current DPI setting. This class is for image list. See also DisplayScaledImagesByKey, DisplayScaledImage.
public class DisplayScaledImages : IDisposable
- Inheritance
-
DisplayScaledImages
- Implements
Constructors
- DisplayScaledImages(Func<ImageList?>, Func<ImageList?>)
Initializes a new instance of DisplayScaledImages class.
Properties
- Images
Gets output images, with scaling applied, if required.
- ImagesNotScaled
Gets output images, but without any scaling applied.
Methods
- ClearCache()
Clears the scaled images cache.
- Dispose()
Disposes this
DisplayScaledImages
and frees resources associated with it.