TimeEditorAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Indicates that the target property should use a "Time" editor.
[AttributeUsage(AttributeTargets.All)]
public class TimeEditorAttribute : CustomEditorAttribute
Public Members
| name | description |
|---|---|
| TimeEditorAttribute() | Initializes a new instance of the TimeEditorAttribute class. |
| EndHour { get; set; } | Gets or sets the end hour between 0 and 23. |
| IntervalMinutes { get; set; } | Gets or sets the interval minutes. |
| NoEmptyOption { get; set; } | Gets or sets a value indicating whether empty option should be shown. |
| StartHour { get; set; } | Gets or sets the start hour between 0 and 23. |
| const Key | Editor type key |
See Also
- class CustomEditorAttribute
- Source: TimeEditorAttribute.cs