DateFormatterAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Sets formatting type to "Date"
[AttributeUsage(AttributeTargets.All)]
public class DateFormatterAttribute : CustomFormatterAttribute
Public Members
| name | description |
|---|---|
| DateFormatterAttribute() | Initializes a new instance of the DateFormatterAttribute class. |
| DisplayFormat { get; set; } | Gets or sets the display format. |
| const Key | Formatter type key |
See Also
- class CustomFormatterAttribute
- Source: BasicFormatterTypes.cs