title: Using an attribute to specify a columns FillWeight
body: <p>I have a DataGridView that I am populating with a BindingList. The BindingList is a list of type <code>SyncDetail</code> which has a number of properties. In these properties I can use attributes to decide whether to not display a column (<code>Browsable(false)</code>), the display name of the column (<code>DisplayName("ColumnName")</code>) etc. See below for an example:</p>
  
  <pre><code>public class SyncDetail : ISyncDetail
  {
  
      // Browsable properties
  
      [DisplayName("Sync Name")]
      public string Name { get; set; }
  
      // Non browsable properties
  
      [Browsable(false)]
      [XmlIgnore]
      public bool Disposed { get; set; }
  }
  </code></pre>
  
  <p>Is there a way that I can use an attribute to define what the column width should be set at? e.g. <code>[ColumnWidth(200)]</code>. I would like to set the <code>FillWeight</code> if possible as my <code>AutoSizeColumnsMode</code> is set to <code>Fill</code>.</p>
  
  <p>Thanks.</p>