SaaS CMS has officially launched! Learn more now.

Class PropertyImageUrl

Property that specifies an url to an image.

Inheritance
System.Object
PropertyImageUrl
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
[PropertyDefinitionTypePlugIn]
public class PropertyImageUrl : PropertyFileUrl, IReadOnly<PropertyData>, IReadOnly, IReferenceMap, IPropertyPreferLoadData

Constructors

PropertyImageUrl()

Creates an PropertyImageUrl that is used to display a user interface for the property.

Declaration
public PropertyImageUrl()

PropertyImageUrl(IPermanentLinkMapper)

Creates an PropertyImageUrl that is used to display a user interface for the property.

Declaration
[Obsolete("Use parameterless constructor and BuildUp this object", true)]
public PropertyImageUrl(IPermanentLinkMapper permanentLinkMapper)
Parameters
Type Name Description
IPermanentLinkMapper permanentLinkMapper

The permanent link mapper.

Properties

LinkEditorType

Gets the specific link type for an image.

Declaration
public override int LinkEditorType { get; }
Property Value
Type Description
System.Int32

The specific link type for an image.

Overrides
Remarks

The link editor type for images is 128.

Methods

CreatePropertyControl()

Creates an IPropertyControl that is used to display a user interface for the property.

Declaration
public override IPropertyControl CreatePropertyControl()
Returns
Type Description
IPropertyControl

An IPropertyControl that is used to display a user interface for the property.

Overrides
Remarks

It is possible to change which control should be used by registering a different IPropertyControl for the PropertyData class in EPiServer.Core.PropertyControlClassFactory.

Implements

Extension Methods