Class ElementPickerPropertyEditor
Element picker property editor that stores element keys.
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
[DataEditor("Umbraco.ElementPicker", ValueType = "JSON", ValueEditorIsReusable = true)]
public class ElementPickerPropertyEditor : DataEditor, IDataEditor, IDiscoverable
Constructors
View SourceElementPickerPropertyEditor(IDataValueEditorFactory, IIOHelper)
Initializes a new instance of the ElementPickerPropertyEditor class.
Declaration
public ElementPickerPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, IIOHelper ioHelper)
Parameters
| Type | Name | Description |
|---|---|---|
| IDataValueEditorFactory | dataValueEditorFactory | The data value editor factory. |
| IIOHelper | ioHelper | The IO helper. |
Methods
View SourceCreateConfigurationEditor()
Creates a configuration editor instance.
Declaration
protected override IConfigurationEditor CreateConfigurationEditor()
Returns
| Type | Description |
|---|---|
| IConfigurationEditor |
CreateValueEditor()
Creates a value editor instance.
Declaration
protected override IDataValueEditor CreateValueEditor()
Returns
| Type | Description |
|---|---|
| IDataValueEditor |