DateFormatterAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.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