title: How find the enum name for corresponding value and use it in DisplayFor?
body: <p>I need to display the name of the enum for corresponding value inside DisplayFor HtmlHelper. I have the following enum:</p>
  
  <pre><code>public enum CheckStatus
      {
          Yes = 1,
          No = 2,
          Maybe =3
      }
  </code></pre>
  
  <p>I'm displaying values for a model normally like this:</p>
  
  <pre><code>@Html.DisplayFor(modelItem =&gt; item.Name)
  </code></pre>
  
  <p>The problem is that at one point I have this:</p>
  
  <pre><code>@Html.DisplayFor(modelItem =&gt; item.Status)
  </code></pre>
  
  <p>That line displays only status value which is set before from enum (1,2 or 3). Instead of that I need somehow to display name for that value. So, if status code is 2, I want to display 'No', not number 2.</p>
  
  <p>I had the similar problem with getting enum names when I was populating dropdown list and I managed to solve it like this:</p>
  
  <pre><code>@Html.DropDownListFor(model =&gt; model.Item.Status,
                  new SelectList(Enum.GetValues(typeof(Pro.Web.Models.Enums.CheckStatus))))
  </code></pre>
  
  <p>I am a little bit lost in how to get only that one name from the value of the enum.</p>
  
  <p>Thank you for your help.</p>