windows forms tablelayoutpanel scroll code example
Example: windows forms tablelayoutpanel scroll
// Set the MaximumSize property to a preferred maximum size.
tableLayoutPanel1.MaximumSize = new Size(10, 10);
// Or dock the TableLayoutPanel in your form.
tableLayoutPanel1.Dock = DockStyle.Fill;
// Set the AutoScroll property of the TableLayoutPanel to true.
tableLayoutPanel1.AutoScroll = true;