views:

142

answers:

1

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?

+1  A: 

Seems like this answer might be what you need - http://stackoverflow.com/questions/93541/baseline-snaplines-in-custom-winforms-controls

benPearce
Thanks - and I searched before I posted too :-( Sorry.
Stuart Helwig