TableLayoutPanel.GetCellPosition(Control) Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the TableLayoutPanelCellPosition that represents the row and the column of the cell.
public:
 System::Windows::Forms::TableLayoutPanelCellPosition GetCellPosition(System::Windows::Forms::Control ^ control);public System.Windows.Forms.TableLayoutPanelCellPosition GetCellPosition(System.Windows.Forms.Control control);member this.GetCellPosition : System.Windows.Forms.Control -> System.Windows.Forms.TableLayoutPanelCellPositionPublic Function GetCellPosition (control As Control) As TableLayoutPanelCellPositionParameters
- control
- Control
A control contained within a cell.
Returns
A TableLayoutPanelCellPosition that represents the cell position.