DateEditorAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Indicates that the target property should use a "Date" editor.
[AttributeUsage(AttributeTargets.All)]
public class DateEditorAttribute : CustomEditorAttribute
Public Members
| name | description |
|---|---|
| DateEditorAttribute() | Initializes a new instance of the DateEditorAttribute class. |
| 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. |
| const Key | Editor type key |
See Also
- class CustomEditorAttribute
- Source: DateEditorAttribute.cs