Export (0) Print
Expand All

DisplayFormatAttribute Properties

The DisplayFormatAttribute type exposes the following members.

  NameDescription
Public property 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.
Public property 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.
Public property DataFormatString Gets or sets the display format for the field value.
Public property HtmlEncode Gets or sets a value that indicates whether the field should be HTML-encoded.
Public property NullDisplayText Gets or sets the text that is displayed for a field when the field's value is null.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft