Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete a control like splitcontainer from the form designer?

Tags:

winforms

There are some UI elements like the SplitContainer which I can't delete in the form designer because I can't select it. If I select it from the properties window and hit delete, nothing happens. This should be a simple thing to do. I don't want to delete the control in the designer file.

like image 228
Tony_Henrich Avatar asked Dec 25 '22 22:12

Tony_Henrich


1 Answers

Several options, there might be more:

  • Press Ctrl+F6 to change the focus, press Delete
  • Right-click, Select, press Delete
  • Reset the Dock property, lasso-select, press Delete
  • Use View + (Other Windows) + Document Outline, right-click + Delete.
like image 87
Hans Passant Avatar answered Jun 05 '23 23:06

Hans Passant