Class PropertyUrlControl
Property control that is used to store an url.
Inheritance
System.Object
PropertyUrlControl
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class PropertyUrlControl : PropertyTextBoxControlBase, IPropertyControl, INamingContainer, IRenderSettings
Constructors
PropertyUrlControl()
Declaration
public PropertyUrlControl()
Properties
ContentRepository
Declaration
public Injected<IContentRepository> ContentRepository { get; set; }
Property Value
Type | Description |
---|---|
Injected<IContentRepository> |
Methods
CreateDefaultControls()
Creates the default controls for the property. Used when the property is in view mode or in "on page edit" mode and the PropertyDataControl does not support on page editing.
Declaration
public override void CreateDefaultControls()
Overrides
GetContent(String)
Gets content from permanentLink
.
Declaration
protected IContent GetContent(string permanentLink)
Parameters
Type | Name | Description |
---|---|---|
System.String | permanentLink | Permanent link to parse content from. |
Returns
Type | Description |
---|---|
IContent | A content if the |
Implements
System.Web.UI.INamingContainer