Class ColorPickerPropertyEditor
Represents a color picker property editor.
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Infrastructure.dll
Syntax
public class ColorPickerPropertyEditor : DataEditor, IDataEditor, IDiscoverable
Constructors
View SourceColorPickerPropertyEditor(IDataValueEditorFactory, IIOHelper, IConfigurationEditorJsonSerializer)
Initializes a new instance of the Color
Declaration
public ColorPickerPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, IIOHelper ioHelper, IConfigurationEditorJsonSerializer configurationEditorJsonSerializer)
Parameters
Type | Name | Description |
---|---|---|
IData |
dataValueEditorFactory | |
IIOHelper | ioHelper | |
IConfiguration |
configurationEditorJsonSerializer |
Properties
View SourcePropertyIndexValueFactory
Gets the index value factory for the editor.
Declaration
public override IPropertyIndexValueFactory PropertyIndexValueFactory { get; }
Property Value
Type | Description |
---|---|
IProperty |
Methods
View SourceCreateConfigurationEditor()
Creates a configuration editor instance.
Declaration
protected override IConfigurationEditor CreateConfigurationEditor()
Returns
Type | Description |
---|---|
IConfiguration |
CreateValueEditor()
Creates a value editor instance.
Declaration
protected override IDataValueEditor CreateValueEditor()
Returns
Type | Description |
---|---|
IData |