Is it possible to have a System.Windows.Forms.TableLayoutPanel fill a column before moving to the next one? Regardless of how I set the RowCount, ColumnCount, and GrowStyle, the table is always populated like this:
1 2 3
4 5 6
and I want this:
1 3 5
2 4 6
Can a TableLayoutPanel not automatically do this?
Edit – To clarify, I am adding the controls programmatically.
Not much you can do about it. It’s just how
TableLayoutControlCollection.Addis implemented internally. I see two options:Addand implement it as the overload above – but now internally.