DisplayFormatAttribute public class DisplayFormatAttribute : Attribute Documentation Code public bool ApplyFormatInEditMode { get; set; } public bool ConvertEmptyStringToNull { get; set; } public string DataFormatString { get; set; } public bool HtmlEncode { get; set; } public string NullDisplayText { get; set; } public Type NullDisplayTextResourceType { get; set; } public DisplayFormatAttribute() public string GetNullDisplayText()