Class PropertyDocumentUrl
Property that specifies a url to a document or file.
Inheritance
Inherited Members
Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 7.19.2Syntax
[PropertyDefinitionTypePlugIn]
public class PropertyDocumentUrl : PropertyFileUrl, IReadOnly<PropertyData>, IReadOnly, IReferenceMap, IPropertyPreferLoadData
Remarks
The link editor type for documents is 129.
Constructors
PropertyDocumentUrl()
Creates an PropertyDocumentUrl that is used to display a user interface for the property.
Declaration
public PropertyDocumentUrl()
PropertyDocumentUrl(IPermanentLinkMapper)
Creates an PropertyDocumentUrl that is used to display a user interface for the property.
Declaration
[Obsolete("Use parameterless constructor and BuildUp this object", true)]
public PropertyDocumentUrl(IPermanentLinkMapper permanentLinkMapper)
Parameters
Type | Name | Description |
---|---|---|
IPermanentLinkMapper | permanentLinkMapper | The permanent link mapper. |
Properties
LinkEditorType
Gets the specific link type for a document.
Declaration
public override int LinkEditorType { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The specific link type for a document. |
Overrides
Remarks
The link editor type for documents is 129.
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.