Class MediaPickerPropertyEditor
Represents a media picker property editor.
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Infrastructure.dll
Syntax
public class MediaPickerPropertyEditor : DataEditor, IDataEditor, IDiscoverableRemarks
Named "(legacy)" as it's best to use the NEW Media Picker aka MediaPicker3
Constructors
View SourceMediaPickerPropertyEditor(IDataValueEditorFactory, IIOHelper)
Declaration
public MediaPickerPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, IIOHelper ioHelper)Parameters
| Type | Name | Description | 
|---|---|---|
| IDataValueEditorFactory | dataValueEditorFactory | |
| IIOHelper | ioHelper | 
MediaPickerPropertyEditor(IDataValueEditorFactory, IIOHelper, IEditorConfigurationParser)
Initializes a new instance of the MediaPickerPropertyEditor class.
Declaration
public MediaPickerPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, IIOHelper ioHelper, IEditorConfigurationParser editorConfigurationParser)Parameters
| Type | Name | Description | 
|---|---|---|
| IDataValueEditorFactory | dataValueEditorFactory | |
| IIOHelper | ioHelper | |
| IEditorConfigurationParser | editorConfigurationParser | 
Methods
View SourceCreateConfigurationEditor()
Creates a configuration editor instance.
Declaration
protected override IConfigurationEditor CreateConfigurationEditor()Returns
| Type | Description | 
|---|---|
| IConfigurationEditor | 
CreateValueEditor()
Declaration
protected override IDataValueEditor CreateValueEditor()Returns
| Type | Description | 
|---|---|
| IDataValueEditor |