London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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: 10.10.4
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