22

I'm using the form designer in VS.

I placed a label on my form, and then deleted it's text. Currently, I can not locate the label.

How do I see a list of controls associated with a given class?

Ivan
  • 399
  • 2
  • 5
  • 18
FellowMD
  • 2,142
  • 3
  • 16
  • 15

3 Answers3

47

View --> Other Windows --> Document Outline

csthopper
  • 660
  • 5
  • 7
2

If you look in the properties window there should be a dropdown of all the controls on the form. You can select a control you can see and then you should see that control in the dropdown list. Then open the list and find the control you are looking for.

spinon
  • 10,760
  • 5
  • 41
  • 59
0

In your launched Visual Studio IDE open:

I - Solution Explorer with CTRL+ALT+L,

II - Document Outline with CTRL+ALT+T.

III - Open any class from the Solution Explorer to see the Document Outline populate accordingly.

Ivan
  • 399
  • 2
  • 5
  • 18