title: How to make MVC3 DisplayFor show the value of an Enum's Display-Attribute?
body: <p>in a MVC3-Project, I'm using an enum with display-Attributes:</p>
  
  <pre><code>public enum Foo {
    [Display(Name = "Undefined")]
    Undef = 0,
  
    [Display(Name = "Fully colored")]
    Full = 1
  }
  </code></pre>
  
  <p>The model class has a property using this enum:</p>
  
  <pre><code>public Foo FooProp { get; set; }
  </code></pre>
  
  <p>The view uses the model class and displays the property via</p>
  
  <pre><code>@Html.DisplayFor(m =&gt; m.FooProp)
  </code></pre>
  
  <p>Now, finally, my question:</p>
  
  <p>How can I make .DisplayFor() show the string from the Display-Attribute instead of showing only the enum's value-name? (it should show "Undefined" or "Fully colored", but displaysp "Undef" or "Full").</p>
  
  <p>Thanks for tips!</p>