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