DisplayFormat field attribute

Nov 22, 2013 at 7:16 PM
Hello!

Does ClosedXML support attribute [DisplayFormat(DataFormatString = "...")]?

For example, I have the class
public class ReportItem
{   
    [Display(Name = "Variance percent")]
    [DisplayFormat(DataFormatString = "{0:p}")]
    public decimal VariancePercent
}
[Display(Name = "Variance percent")] attribute works perfectly, but DisplayFormat doesn't. Any ideas?