Class ValueListConfigurationEditor
Pre-value editor used to create a list of items
Namespace: Umbraco.Web.PropertyEditors
Assembly: Umbraco.Web.dll
Syntax
public class ValueListConfigurationEditor : ConfigurationEditor<ValueListConfiguration>, IConfigurationEditor
Remarks
This pre-value editor is shared with editors like drop down, checkbox list, etc....
Constructors
View SourceValueListConfigurationEditor(ILocalizedTextService)
Declaration
public ValueListConfigurationEditor(ILocalizedTextService textService)
Parameters
Type | Name | Description |
---|---|---|
ILocalizedTextService | textService |
Methods
View SourceFromConfigurationEditor(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> |