IToolboxContentControlSite.OnContentPreferredSizeChanged Method
IToolboxContentControlSite.OnContentPreferredSizeChanged(Control, Int32)
Adjusts the specified child control into view on an auto-scroll enabled control.
Declaration
void IToolboxContentControlSite.OnContentPreferredSizeChanged(Control controlToScrollTo, int scrollToVerticalOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | controlToScrollTo | The child control to adjust. |
System.Int32 | scrollToVerticalOffset | Vertical offset. |