DateTimeEditorAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Indicates that the target property should use a "DateTime" editor.

public class DateTimeEditorAttribute : CustomEditorAttribute

Public Members

name description
DateTimeEditorAttribute() Initializes a new instance of the DateTimeEditorAttribute class.
EndHour { get; set; } Gets or sets the end hour between 0 and 23.
IntervalMinutes { get; set; } Gets or sets the interval minutes, default is 5 minutes.
MaxValue { get; set; } Gets or sets the maximum value.
MinValue { get; set; } Gets or sets the minimum value.
SqlMinMax { get; set; } Gets or sets a value indicating whether SQL server min max dates should be used.
StartHour { get; set; } Gets or sets the start hour between 0 and 23.
UseUtc { get; set; } Gets or sets a value indicating whether the editor should use UTC format.
const Key Editor type key

See Also