Class CheckBoxListPropertyEditor
A property editor to allow multiple checkbox selection of pre-defined items.
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Infrastructure.dll
Syntax
public class CheckBoxListPropertyEditor : DataEditor, IDataEditor, IDiscoverableConstructors
View SourceCheckBoxListPropertyEditor(IDataValueEditorFactory, ILocalizedTextService, IIOHelper)
Declaration
public CheckBoxListPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, ILocalizedTextService textService, IIOHelper ioHelper)Parameters
| Type | Name | Description | 
|---|---|---|
| IDataValueEditorFactory | dataValueEditorFactory | |
| ILocalizedTextService | textService | |
| IIOHelper | ioHelper | 
CheckBoxListPropertyEditor(IDataValueEditorFactory, ILocalizedTextService, IIOHelper, IEditorConfigurationParser)
The constructor will setup the property editor based on the attribute if one is found
Declaration
public CheckBoxListPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, ILocalizedTextService textService, IIOHelper ioHelper, IEditorConfigurationParser editorConfigurationParser)Parameters
| Type | Name | Description | 
|---|---|---|
| IDataValueEditorFactory | dataValueEditorFactory | |
| ILocalizedTextService | textService | |
| IIOHelper | ioHelper | |
| IEditorConfigurationParser | editorConfigurationParser | 
Methods
View SourceCreateConfigurationEditor()
Creates a configuration editor instance.
Declaration
protected override IConfigurationEditor CreateConfigurationEditor()Returns
| Type | Description | 
|---|---|
| IConfigurationEditor | 
CreateValueEditor()
Creates a value editor instance.
Declaration
protected override IDataValueEditor CreateValueEditor()Returns
| Type | Description | 
|---|---|
| IDataValueEditor |