Class ValueListConfigurationEditor
Pre-value editor used to create a list of items
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: cs.temp.dll.dll
Syntax
public class ValueListConfigurationEditor : ConfigurationEditor<ValueListConfiguration>
Remarks
This pre-value editor is shared with editors like drop down, checkbox list, etc....
Constructors
ValueListConfigurationEditor(ILocalizedTextService, IIOHelper)
Declaration
public ValueListConfigurationEditor(ILocalizedTextService textService, IIOHelper ioHelper)
Parameters
Type | Name | Description |
---|---|---|
ILocalizedTextService | textService | |
IIOHelper | ioHelper |
Methods
FromConfigurationEditor(IDictionary<String, Object>, ValueListConfiguration)
Converts the configuration posted by the editor.
Declaration
public override ValueListConfiguration FromConfigurationEditor(IDictionary<string, object> editorValues, ValueListConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | editorValues | The configuration object posted by the editor. |
ValueListConfiguration | configuration |
Returns
Type | Description |
---|---|
ValueListConfiguration |
ToConfigurationEditor(ValueListConfiguration)
Converts configuration values to values for the editor.
Declaration
public override Dictionary<string, object> ToConfigurationEditor(ValueListConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ValueListConfiguration | configuration |
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> |