Table of Contents

Class LinkProperties

Namespace
Kentico.Xperience.Admin.Base.Forms
Assembly
Kentico.Xperience.Admin.Base.dll

Represent properties of the LinkComponent.

public sealed class LinkProperties : FormComponentProperties, IFormComponentProperties
Inheritance
object
LinkProperties
Implements
Inherited Members
Extension Methods

Constructors

LinkProperties()

public LinkProperties()

Properties

Inactive

Indicates whether the link should be active and shown as link or just a text. Defaults to false.

public bool Inactive { get; set; }

Property Value

bool

OpenInNewTab

Indicates if the link should open in a new tab. Defaults to true.

[CheckBoxComponent(Label = "{$base.forms.link.openinnewtab.label$}", Tooltip = "{$base.forms.link.openinnewtab.tooltip$}", Order = 1)]
public bool OpenInNewTab { get; set; }

Property Value

bool

Text

Text of the link. If null or empty, the component value (the URL) is used instead.

[TextInputComponent(Label = "{$base.forms.link.text.label$}", Tooltip = "{$base.forms.link.text.tooltip$}", Order = 0)]
public string Text { get; set; }

Property Value

string