3 writes to DisplayFormat
System.ComponentModel.DataAnnotations (3)
DataAnnotations\DataTypeAttribute.cs (3)
58
this.
DisplayFormat
= new DisplayFormatAttribute();
63
this.
DisplayFormat
= new DisplayFormatAttribute();
68
this.
DisplayFormat
= new DisplayFormatAttribute();
7 references to DisplayFormat
System.ComponentModel.DataAnnotations (5)
DataAnnotations\DataTypeAttribute.cs (5)
59
this.
DisplayFormat
.DataFormatString = "{0:d}";
60
this.
DisplayFormat
.ApplyFormatInEditMode = true;
64
this.
DisplayFormat
.DataFormatString = "{0:t}";
65
this.
DisplayFormat
.ApplyFormatInEditMode = true;
69
this.
DisplayFormat
.DataFormatString = "{0:C}";
System.Web (1)
ModelBinding\DataAnnotationsModelMetadataProvider.cs (1)
51
displayFormatAttribute = dataTypeAttribute.
DisplayFormat
;
System.Web.DynamicData (1)
DynamicData\MetaColumn.cs (1)
565
(DataTypeAttribute != null ? DataTypeAttribute.
DisplayFormat
: null);