Class Image
- Namespace
- Sitecore.AspNetCore.SDK.LayoutService.Client.Response.Model.Properties
- Assembly
- Sitecore.AspNetCore.SDK.LayoutService.Client.dll
Represents the properties of an image in a Sitecore layout service response.
public class Image
- Inheritance
-
Image
- Inherited Members
Properties
Alt
Gets or sets the alternative text of the image.
public string? Alt { get; set; }
Property Value
Border
Gets or sets the border thickness of the image.
public int? Border { get; set; }
Property Value
- int?
Class
Gets or sets the class of the image.
public string? Class { get; set; }
Property Value
HSpace
Gets or sets the number of whitespaces on the left and the right side of the image.
public int? HSpace { get; set; }
Property Value
- int?
Height
Gets or sets the height of the image.
public int? Height { get; set; }
Property Value
- int?
Src
Gets or sets the source of the image.
public string? Src { get; set; }
Property Value
Title
Gets or sets the title of the image.
public string? Title { get; set; }
Property Value
VSpace
Gets or sets the number of whitespaces on the bottom and top side of the image.
public int? VSpace { get; set; }
Property Value
- int?
Width
Gets or sets the width of the image.
public int? Width { get; set; }
Property Value
- int?