5

In Visual Studio (2008) when you place a textbox on a Windows Form, and drag it around, you see very helpful guidelines which help you align it (left, right, top or bottom) to other controls. You also see a line the represents the bottom of the text in that control helping you align the text within your textbox, to the text within a label, regardless of the height of that label.

I have user control that contains a textbox and a couple of buttons. Can I force the VS2008 designer to show me the same line for the bottom of the text, from the textbox within my user control? If so, how?

Stuart Helwig
  • 9,318
  • 8
  • 51
  • 67

1 Answers1

6

Seems like this answer might be what you need - Baseline snaplines in custom Winforms controls

Community
  • 1
  • 1
benPearce
  • 37,735
  • 14
  • 62
  • 96