Class RadioButtonsPropertyEditor
A property editor to allow the individual selection of pre-defined items.
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Infrastructure.dll
Syntax
public class RadioButtonsPropertyEditor : DataEditor, IDataEditor, IDiscoverable
Constructors
View SourceRadioButtonsPropertyEditor(IDataValueEditorFactory, IIOHelper, ILocalizedTextService)
Declaration
public RadioButtonsPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, IIOHelper ioHelper, ILocalizedTextService localizedTextService)
Parameters
Type | Name | Description |
---|---|---|
IDataValueEditorFactory | dataValueEditorFactory | |
IIOHelper | ioHelper | |
ILocalizedTextService | localizedTextService |
RadioButtonsPropertyEditor(IDataValueEditorFactory, IIOHelper, ILocalizedTextService, IEditorConfigurationParser)
The constructor will setup the property editor based on the attribute if one is found
Declaration
public RadioButtonsPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, IIOHelper ioHelper, ILocalizedTextService localizedTextService, IEditorConfigurationParser editorConfigurationParser)
Parameters
Type | Name | Description |
---|---|---|
IDataValueEditorFactory | dataValueEditorFactory | |
IIOHelper | ioHelper | |
ILocalizedTextService | localizedTextService | |
IEditorConfigurationParser | editorConfigurationParser |
Methods
View SourceCreateConfigurationEditor()
Return a custom pre-value editor
Declaration
protected override IConfigurationEditor CreateConfigurationEditor()
Returns
Type | Description |
---|---|
IConfigurationEditor |