This project has moved and is read-only. For the latest updates, please go here.

DisplayFormat field attribute

Nov 22, 2013 at 8:16 PM

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?