System.ComponentModel.DataAnnotations.DisplayFormatAttribute
Specifies how data fields are displayed and formatted by ASP.NET Dynamic Data.
Gets or sets a value that indicates whether the formatting string that is specified by the DataFormatString property is applied to the field value when the data field is in edit mode.
Gets or sets a value that indicates whether empty string values ("") are automatically converted to null when the data field is updated in the data source.
Gets or sets the display format for the field value.
Gets or sets a value that indicates whether the field should be HTML-encoded.
Gets or sets the text that is displayed for a field when the field's value is null.
Gets or sets the Type that contains the resources for NullDisplayText.
Using NullDisplayTextResourceType along with NullDisplayText, allows the GetNullDisplayText method to return localized values.
public DisplayFormatAttribute()
Initializes a new instance of the DisplayFormatAttribute class.
Returns the UI display string for NullDisplayText.