Class TrueFalsePropertyEditor
Represents a checkbox property and parameter editor.
Namespace: Umbraco.Web.PropertyEditors
Assembly: Umbraco.Web.dll
Syntax
[DataEditor("Umbraco.TrueFalse", EditorType.PropertyValue | EditorType.MacroParameter, "Toggle", "boolean", ValueType = "INT", Group = "Common", Icon = "icon-checkbox")]
public class TrueFalsePropertyEditor : DataEditor, IDataEditor, IDiscoverable
Constructors
View SourceTrueFalsePropertyEditor(ILogger)
Initializes a new instance of the TrueFalsePropertyEditor class.
Declaration
public TrueFalsePropertyEditor(ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger |
Methods
View SourceCreateConfigurationEditor()
Creates a configuration editor instance.
Declaration
protected override IConfigurationEditor CreateConfigurationEditor()
Returns
Type | Description |
---|---|
IConfigurationEditor |