When I drop a control, such as a shortcut or text block, into a TableLayoutPanel, it has (among many others, of course) the following properties:
Cell.Column Cell.Row Column Row
... but these controls usually do not have these properties (IOW, Labels and TextBoxes, which are not discarded in TLP, do not have them).
How can I programmatically assign values ββto these properties (the controls that I want to embed in TLP)?
This is my existing shortcut code:
. . . lblName = string.Format("label{0}", i); var lbl = new Label() { Name = lblName, Parent = tableLayoutPanelPlatypi, Column = ColNum,
source share