c# - Table layout panel scroll bar -


given table layout panel 2 columns , many rows, how can attatch scroll bar grows greater size of form .

thank you

the tablelayoutpanel example of scrollablecontrol. can therefore set it's autoscroll property true , control automatically create scroll bars when it's preferred size exceeds current size. provide desired effect minimal hassle.

procedure

  1. set maximumsize property preferred maximum size or can dock tablelayoutpanel in form.
  2. set autoscroll property of tablelayoutpanel true.



fyi:
panel, toolstrip, flowlayoutpanel, splitterpanel, tablelayoutpanel, tabpage , toolstripcontentpanel inherit scrollablecontrol class answer applies them well.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -