I am looking into the behaviour of the TableLayoutPanel and am confused with the RowCount/ColumnCount property. According to the SDK documentation, it can be set to 0 to indicate endless growth when more controls are added in that particular direction. However when setting 0 in Visual Studio,
Property value is not valid. RowCount must be greater than zero.
However, I can programmatically set the values of those properties to 0 indeed.
Additionally, a numerical value has been set, each new control I add to the layout panel does not increase the RowCount or ColumnCount at all despite it visually being able to align the added controls properly. The value remains to whatever number I previously set explicitly. Can anybody explain if this is the logical and expected behaviour? I am not able to infer this well from the documentation.
The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral