I have this problem, I created my own datagridviewcolumn, and I want to add some properties that you can change in editing development time ... here is my code:
private int nMaxLength;
[Description("Fondoscala valore"), Category("Sea")]
public int MaxLength
{
get { return nMaxLength; }
set { nMaxLength = value; }
}
and in fact this is normal when you open the column editor, you see this property under the Sea category, and you can change it, but when you change it, if you go to the .Designer.cs file, you will see the MaxLength value to 0. . no change ... what's the problem ?? thanks in advance
source
share