Skip to content

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.

See Also