Actually, I think it's the userControl I need to apply this logic to.
so the UserControl hosts a panel, when that panel grows or shrinks, i need
to resize the userControl vertically. setting autosize to true on the
usercontrol won't work because i dock the userControl to the top of the
form, and it's contents only display the fixed width.
"Nathan Laff" <re******@hotmail.comwrote in message
news:37**********************************@microsof t.com...
>I have a panel that I want to AutoSize with an AutoSize mode of
GrowAndShrink, but I only want it to autosize vertically. Reason being I
have anchors set up to a usercontrol which can resize.
Any idea on how to accomplish that?