Unable to modify protected control on design on inherited user control

123 views Asked by At

I have two UserControl, one inherited from the other.

This controls have two DataGridView, contained in a SplitContainer. In the "base" user control, I defined access modifier for both DataGrid and the SplitContainer to protected.

In the design mode in the inherited user control, I can modify the SplitContainer. It should then be also possible to modify both DataGrid, since they are also defined as protected. However, I can't. They are locked and I can't change any property of them.

Why does this happen?

0

There are 0 answers