Custom property won't save when changed in property window
问题 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 "Edit columns...". Then when I select the column that is my custom column type I'm able to edit the property, but if I clike "OK" after editing and then go to "Edit columns..." again the value that I assigned to my property is gone. Here is my code: public class CustomColumn : DataGridViewColumn { [DisplayName("Type")] [Category("Custom