DisplayFormatAttribute Properties

The DisplayFormatAttribute type exposes the following members.

  Name Description
Public property ApplyFormatInEditMode Gets or sets a value that indicates whether the formatting string that is specified in the DataFormatString property is applied to the member when in edit mode.
Public property ConvertEmptyStringToNull Gets or sets a value that indicates whether empty string values ("") are automatically converted to null.
Public property DataFormatString Gets or sets the string value that specifies how to display values for the member.
Public property NullDisplayText Gets or sets the text to display for a member when the value of the member is null.

Community Additions