DisplayFormatAttribute Properties
.NET Framework (current version)
Namespace:
System.ComponentModel.DataAnnotations
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
| Name | Description | |
|---|---|---|
![]() | ApplyFormatInEditMode | 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. |
![]() | ConvertEmptyStringToNull | 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. |
![]() | DataFormatString | Gets or sets the display format for the field value. |
![]() | HtmlEncode | Gets or sets a value that indicates whether the field should be HTML-encoded. |
![]() | NullDisplayText | Gets or sets the text that is displayed for a field when the field's value is null. |
![]() | TypeId |
Show:
