Class DecimalPropertyEditor
Represents a decimal property and parameter editor.
Namespace: Umbraco.Web.PropertyEditors
Assembly: Umbraco.Web.dll
Syntax
[DataEditor("Umbraco.Decimal", EditorType.PropertyValue | EditorType.MacroParameter, "Decimal", "decimal", ValueType = "DECIMAL")]
public class DecimalPropertyEditor : DataEditor, IDataEditor, IDiscoverable
Constructors
View SourceDecimalPropertyEditor(ILogger)
Initializes a new instance of the DecimalPropertyEditor class.
Declaration
public DecimalPropertyEditor(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 |
CreateValueEditor()
Creates a value editor instance.
Declaration
protected override IDataValueEditor CreateValueEditor()
Returns
Type | Description |
---|---|
IDataValueEditor |