Try our conversational search powered by Generative AI!

Class PropertyLinkTypeControl

Property control that creates a user interface with a drop down list containing different types of links in EPiServer CMS.

Inheritance
System.Object
PropertyLinkTypeControl
Implements
System.Web.UI.INamingContainer
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
public class PropertyLinkTypeControl : PropertySelectControlBase, IPropertyControl, INamingContainer, IRenderSettings

Constructors

PropertyLinkTypeControl()

Declaration
public PropertyLinkTypeControl()

Properties

Gets the LinkType.

Declaration
public LinkType Link { get; }
Property Value
Type Description
LinkType

The LinkType.

Methods

AddScripts()

Adds the javascript that is needed.

Declaration
protected void AddScripts()

SetupEditControls()

Used to apply a custom setup to the edit controls.

Declaration
protected override void SetupEditControls()
Overrides
Remarks

This method is called from CreateEditControls after the edit control(s) have been created.

ToWebString()

Get a translated name of the link type. For instance "External link".

Declaration
public override string ToWebString()
Returns
Type Description
System.String

A translated name of the link type.

Overrides

Implements

System.Web.UI.INamingContainer

Extension Methods