Class HyperLink

Version: 21.x

Represents the properties of a hyperlink in a Sitecore layout service response.

Inheritance

System.Object

HyperLink

Namespace: Sitecore.LayoutService.Client.Response.Model.Properties

Assembly: Sitecore.LayoutService.Client.Abstractions.dll

Syntax
public class HyperLink : Object

Constructors

Declaration
public HyperLink()

Properties

Class

Gets or sets the CSS class of the hyperlink.

Declaration
public string Class { get; set; }
Property Value
TypeDescription
System.String

Href

Gets or sets the href of the hyperlink.

Declaration
public string Href { get; set; }
Property Value
TypeDescription
System.String

Target

Gets or sets the target of the hyperlink.

Declaration
public string Target { get; set; }
Property Value
TypeDescription
System.String

Text

Gets or sets the text of the hyperlink.

Declaration
public string Text { get; set; }
Property Value
TypeDescription
System.String

Title

Gets or sets the title of the hyperlink.

Declaration
public string Title { get; set; }
Property Value
TypeDescription
System.String
If you have suggestions for improving this article, let us know!