Returns the column position of the specified child control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
If control spans two or more columns, the method will return the lowest column index.
The column position value is zero based, so you can use it as an index for the array returned by GetColumnWidths.
This method is called by the Column property, which the panel adds to its child controls at design time.
The following code example enumerates all the child controls in the TableLayoutPanel and finds the column index for each control using the method.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.