Class HyperLink
- Namespace
- Sitecore.AspNetCore.SDK.LayoutService.Client.Response.Model.Properties
- Assembly
- Sitecore.AspNetCore.SDK.LayoutService.Client.dll
Represents the properties of a hyperlink in a Sitecore layout service response.
public class HyperLink
- Inheritance
-
HyperLink
- Inherited Members
Properties
Anchor
Gets or sets the anchor of the hyperlink.
[DataMember(EmitDefaultValue = false)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Anchor { get; set; }
Property Value
Class
Gets or sets the CSS class of the hyperlink.
[DataMember(EmitDefaultValue = false)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Class { get; set; }
Property Value
Href
Gets or sets the href of the hyperlink.
public string? Href { get; set; }
Property Value
Target
Gets or sets the target of the hyperlink.
[DataMember(EmitDefaultValue = false)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Target { get; set; }
Property Value
Text
Gets or sets the text of the hyperlink.
[DataMember(EmitDefaultValue = false)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Text { get; set; }
Property Value
Title
Gets or sets the title of the hyperlink.
[DataMember(EmitDefaultValue = false)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Title { get; set; }