Class DateTimePropertyEditor
Represents a date and time property editor.
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Infrastructure.dll
Syntax
public class DateTimePropertyEditor : DataEditor, IDataEditor, IDiscoverable
Constructors
View SourceDateTimePropertyEditor(IDataValueEditorFactory, IIOHelper)
Declaration
public DateTimePropertyEditor(IDataValueEditorFactory dataValueEditorFactory, IIOHelper ioHelper)
Parameters
Type | Name | Description |
---|---|---|
IDataValueEditorFactory | dataValueEditorFactory | |
IIOHelper | ioHelper |
DateTimePropertyEditor(IDataValueEditorFactory, IIOHelper, IEditorConfigurationParser)
Initializes a new instance of the DateTimePropertyEditor class.
Declaration
public DateTimePropertyEditor(IDataValueEditorFactory dataValueEditorFactory, IIOHelper ioHelper, IEditorConfigurationParser editorConfigurationParser)
Parameters
Type | Name | Description |
---|---|---|
IDataValueEditorFactory | dataValueEditorFactory | |
IIOHelper | ioHelper | |
IEditorConfigurationParser | editorConfigurationParser |
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 |