title: best way to bind enum propery in datagrid
body: <p>what is a best way to bind enum property to datagrid.currently i am using public property and return enum name from there is there any other way ?</p>
  
  <p><strong>Enumeration</strong></p>
  
  <pre><code>public enum enStatus
  {
      Draft = 1,
      Published = 2,
      Started = 3,
      Completed = 4
  }
  </code></pre>
  
  <p><strong>Model</strong></p>
  
  <pre><code>class ModelA
  {
    private int statudId;
    public string Status {  get { return Enum.GetName(typeof(enStatus),statudId); }
  }
  </code></pre>
  
  <p><strong>DataGrid</strong></p>
  
  <pre><code>&lt;DataGrid Name="dataGrdAssignments" Style="{StaticResource dataGridManageScreens}" SelectedCellsChanged="dataGrdAssignments_SelectedCellsChanged"&gt;
        &lt;DataGrid.Columns&gt;
          &lt;DataGridTextColumn Header="Status" Width="150" Binding="{Binding Status}" ElementStyle="{StaticResource gridElementStyle}" EditingElementStyle="{StaticResource gridEditElementStyle}"&gt;
          &lt;/DataGridTextColumn&gt;
        &lt;/DataGrid.Columns&gt;
  &lt;/DataGrid&gt;
  </code></pre>