0
kicks
Visual inheritance DataGridView, where is it at design time?
Hi there,
I'm currently working on a Visual Studio .NET 2005 Winforms project, where i've got multiple forms which have a DataGridView on it. So I decided, for maintenance sake, that I had to create a baseform, since alle the forms really must look-a-like. In the baseform I've set the modifier of the, to be inherited, control to public or protected. Nice job you would think! But guess again, cause visual inheritance on 2.0 controls, that can hold a collection, like the DataGridView is not possible. So you can throw away all your good meanings and efforts!
This is what Microsoft has to say about it:
"We disabled this scenario intentionally. We chose to not make the engineering effort it would have required to enable this scenario for Whidbey. This decision was not make lightly and we understand customers would like this functionality, but the existing visual inheritance architecture in combination with collection based controls makes it extremely costly to address. We hope to enable this in future versions".