title: Custom property won't save when changed in property window
body: <p>I've created a custom column for DataGridView, and the reason is that I want to add a property (type) to a column.
  I right click the DataGridView and select &quot;Edit columns...&quot;. Then when I select the column that is my custom column type I'm able to edit the property, but if I clike &quot;OK&quot; after editing and then go to &quot;Edit columns...&quot; again the value that I assigned to my property is gone.</p>
  <p>Here is my code:</p>
  <pre><code>public class CustomColumn : DataGridViewColumn
  {
      [DisplayName(&quot;Type&quot;)]
      [Category(&quot;Custom Property&quot;)]
      public String type { get; set; }
  
      public CustomColumn()
          : base(new DataGridViewTextBoxCell())
      {
      }
  }
  </code></pre>
  <p>And an image of the property window:</p>
  <p><a href="https://i.stack.imgur.com/5ZnmZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5ZnmZ.png" alt="Image of the propert windows" /></a></p>
  
  <p>Can someone tell me what I'm doing wrong, or what I need to add so that when I change the value in the property window, that value is assigned to the property?</p>