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
RequestResponse
public class HyperLink : ObjectConstructors
HyperLink()
Declaration
RequestResponse
public HyperLink()Properties
Class
Gets or sets the CSS class of the hyperlink.
Declaration
RequestResponse
public string Class { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
Href
Gets or sets the href of the hyperlink.
Declaration
RequestResponse
public string Href { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
Target
Gets or sets the target of the hyperlink.
Declaration
RequestResponse
public string Target { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
Text
Gets or sets the text of the hyperlink.
Declaration
RequestResponse
public string Text { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
Title
Gets or sets the title of the hyperlink.
Declaration
RequestResponse
public string Title { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |