Class CheckBoxListPropertyEditor
A property editor to allow multiple checkbox selection of pre-defined items.
Namespace: Umbraco.Web.PropertyEditors
Assembly: Umbraco.Web.dll
Syntax
[DataEditor("Umbraco.CheckBoxList", "Checkbox list", "checkboxlist", Icon = "icon-bulleted-list", Group = "Lists")]
public class CheckBoxListPropertyEditor : DataEditor, IDataEditor, IDiscoverable
Constructors
View SourceCheckBoxListPropertyEditor(ILogger, ILocalizedTextService)
The constructor will setup the property editor based on the attribute if one is found
Declaration
public CheckBoxListPropertyEditor(ILogger logger, ILocalizedTextService textService)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
ILocalizedTextService | textService |
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 |