Home > Net >  Cannot be modified after WinForm window contains the DataGridView inheritance
Cannot be modified after WinForm window contains the DataGridView inheritance

Time:09-28






As shown in VS2010 designer, datagridview is locked, and all of the properties and events are grey can't edit and modify?

How's this broken?

Other controls can be, such as the panel, button, etc.,

Yew2 inherited from yew

CodePudding user response:

In the base class, the DataGridView is Modifiers attribute is private? This private components in subclasses can't modify,

CodePudding user response:

reference 1st floor datafansbj response:
, in the base class is the DataGridView Modifiers attribute is private? This private components cannot be modified in a subclass,


Modifiers property is private to the Public for datagridview is no good, simple controls such as a button
  •  Tags:  
  • C#
  • Related