DateTimeFormatterAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Sets formatting type to "DateTime".

[AttributeUsage(AttributeTargets.All)]
public class DateTimeFormatterAttribute : CustomFormatterAttribute

Public Members

name description
DateTimeFormatterAttribute() Initializes a new instance of the DateTimeFormatterAttribute class.
DisplayFormat { get; set; } Gets or sets the display format.
const Key Formatter type key

See Also