November Happy Hour will be moved to Thursday December 5th.

Class PropertyDocumentUrl

Property that specifies a url to a document or file.

Inheritance
System.Object
PropertyDocumentUrl
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: 10.10.4
Syntax
[PropertyDefinitionTypePlugIn]
[EditorHint("mediafile")]
public class PropertyDocumentUrl : PropertyFileUrl, IReadOnly<PropertyData>, IReadOnly, IReferenceMap, IPropertyPreferLoadData
Remarks

The link editor type for documents is 129.

Constructors

PropertyDocumentUrl()

Declaration
public PropertyDocumentUrl()

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
[Obsolete("Use IPropertyControlFactory to create property controls")]
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