TableLayoutPanel.GetCellPosition(Control) Method

Definition

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.TableLayoutPanelCellPosition
Public Function GetCellPosition (control As Control) As TableLayoutPanelCellPosition

Parameters

control
Control

A control contained within a cell.

Returns

A TableLayoutPanelCellPosition that represents the cell position.

Applies to