Windows Forms App (.NET Core 3.1) shows Red Cross for DataGridView

  • Thread starter Thread starter Silvers11
  • Start date Start date
S

Silvers11

Guest
Hello!

I have a question about the DataGridView control in Windows Forms App(.NET Core 3.1). I use Visual Studio 2019 Preview.

I have declared the DataGridView programatically in the file Form1.Designer.cs which compiles well.

But in the Designer view, I can only see a RED cross so I can't iteract with the control there at all. Not even see its properties.


The DataGridView control is "Grayed Out" in the Toolbox aswell so it is not possible to "Drag-and-Drop" the control on the Form.

How is it possible to get rid of the RED cross and see the DataGridView and probably also be able to Drag-and-Drop the control?

1576141.png

Continue reading...
 
Back
Top