Class MediaPickerPropertyEditor
Represents a media picker property editor. Named "(legacy)" as it's best to use the NEW Media Picker aka MediaPicker3
Namespace: Umbraco.Web.PropertyEditors
Assembly: Umbraco.Web.dll
Syntax
[DataEditor("Umbraco.MediaPicker", EditorType.PropertyValue | EditorType.MacroParameter, "Media Picker (legacy)", "mediapicker", ValueType = "TEXT", Group = "Media", Icon = "icon-picture", IsDeprecated = false)]
public class MediaPickerPropertyEditor : DataEditor, IDataEditor, IDiscoverable
Constructors
View SourceMediaPickerPropertyEditor(ILogger)
Initializes a new instance of the MediaPickerPropertyEditor class.
Declaration
public MediaPickerPropertyEditor(ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger |
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 |