Class DateTimePropertyEditor
Represents a date and time property editor.
Namespace: Umbraco.Web.PropertyEditors
Assembly: Umbraco.Web.dll
Syntax
[DataEditor("Umbraco.DateTime", "Date/Time", "datepicker", ValueType = "DATETIME", Icon = "icon-time")]
public class DateTimePropertyEditor : DataEditor, IDataEditor, IDiscoverable
Constructors
View SourceDateTimePropertyEditor(ILogger)
Initializes a new instance of the DateTimePropertyEditor class.
Declaration
public DateTimePropertyEditor(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 |