title: MVC 5.1 Razor DisplayFor not working with Enum DisplayName
body: <p>I have the following entity (domain) object and model that contain an enum. The display name appears correctly and works for a EnumDropdownList but for some reason not for the DisplayFor helper, all that is shown is the actual enum name.</p>
  
  <p>Not sure what I am missing, asp.net MVC 5.1 added display name support for this so I shouldn't need to create my own helper methods. See: <a href="https://aspnet.codeplex.com/SourceControl/latest#Samples/MVC/EnumSample/EnumSample/Models/Enums.cs">https://aspnet.codeplex.com/SourceControl/latest#Samples/MVC/EnumSample/EnumSample/Models/Enums.cs</a></p>
  
  <pre><code>public class Addon
  {
      public int Id { get; set; }
      public AddonType AddonType { get; set; }
      public string Name { get; set; }
      public decimal Price { get; set; }
      public bool IsActive { get; set; }
  }
  
  public enum AddonType : byte
  {
      [Display(Name = "Cake Theme")]
      CakeTheme,
      [Display(Name = "Cake Flavour")]
      CakeFlavour,
      [Display(Name = "Cupcake Icing")]
      CupcakeIcing,
      [Display(Name = "Party Addon")]
      AddOn
  }
  </code></pre>
  
  <p>MODEL</p>
  
  <pre><code>public class AddonModel
  {
      public int Id { get; set; }
      public AddonType AddonType { get; set; }
      public string Name { get; set; }
      public decimal Price { get; set; }
      public int Quantity { get; set; }
      public bool IsActive { get; set; }
  }
  </code></pre>
  
  <p>VIEW</p>
  
  <pre><code>&lt;h2&gt;Index&lt;/h2&gt;
  
  &lt;p&gt;
      @Html.ActionLink("Create New", "Create")
  &lt;/p&gt;
  &lt;table class="table"&gt;
      &lt;tr&gt;
          &lt;th&gt;Type&lt;/th&gt;
          &lt;th&gt;Name&lt;/th&gt;
          &lt;th&gt;&lt;/th&gt;
      &lt;/tr&gt;
  
  @foreach (var item in Model) {
      &lt;tr&gt;
          &lt;td&gt;
              @Html.DisplayFor(model =&gt; item.AddonType)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(model =&gt; item.Name)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(model =&gt; item.Price)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.ActionLink("Edit", "Edit", new { id=item.Id }) |
              @Html.ActionLink("Details", "Details", new { id=item.Id }) |
              @Html.ActionLink("Delete", "Delete", new { id=item.Id })
          &lt;/td&gt;
      &lt;/tr&gt;
  }
  
  &lt;/table&gt;
  </code></pre>