title: Data Annotation for column width
body: <p>I'm binding a collection of objects to a DevExpress GridControl, and using <a href="https://community.devexpress.com/blogs/thinking/archive/2015/06/08/winforms-data-layout-control-data-annotation-attributes.aspx" rel="nofollow noreferrer">15.1 Data Annotations</a> to customise the look. However I'm struggling to find anything about setting column size of a property. Is this possible through annotations?</p>
  
  <p><strong>Class with annotations:</strong></p>
  
  <pre><code>public class DataFeedback
  {
      [Display(Name = "Row Num", Order = 0)]
      public int RowNum { get; set; }
      [Display(Name = "Description", Order = 1)]
      public string Desc { get; set; }
  
      public DataFeedback(int rowNum, string desc)
      {
          RowNum = rowId;
          Desc = desc;
      }
  }
  </code></pre>
  
  <p><strong>Simple Binding</strong></p>
  
  <pre><code>var feedbackList = new List&lt;DataFeedback&gt;()
  feedbackList.Add(new DataFeedback(1, "test"))
  gridControl1.DataSource = feedbackList;
  
  // only layout I've found so far
  gridView1.BestFitColumns();
  </code></pre>