Class ImageCandidate
- Namespace
- Songhay.Publications.Models
- Assembly
- Songhay.Publications.dll
Defines a responsive-image candidate.
public class ImageCandidate
- Inheritance
-
ImageCandidate
- Inherited Members
- Extension Methods
Remarks
“srcset
is a string which identifies one
or more image candidate strings, separated using commas (,)
each specifying image resources to use under given circumstances.”
MDN [ 📖 https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/srcset ]
Properties
ImageUri
Gets or sets the image URI.
public Uri? ImageUri { get; set; }
Property Value
PixelDensity
Gets or sets the pixel density.
public string? PixelDensity { get; set; }
Property Value
Width
Gets or sets the width.
public string? Width { get; set; }