Hello 
I have a problem with a custom DataGridView. I've created a custom control inherited from DataGridView. In this custom control, I set the property "AllowUserToOrderColumns" to true.
When I use this control in a form, the designer ignores the modifications I make to this property (no code automatically added in the designer.cs).As soon as I close the form, the modification is lost.I have to set it programmaticaly to make it work.
I've seen that the solution should be to override the property in the custom control class like this :
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public overridebool AllowUserToOrderColumns
{
....
}
But the property is not overridable !
And if I do this :
Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.
Visible)]
public new bool AllowUserToOrderColumns
{
....
}
Visual Studio just closes itself

Thanks for help