System.Windows.Forms.TableLayoutPanel.GetControlFromPosition Method

Returns the child control occupying the specified position.

Syntax

public Control GetControlFromPosition (int column, int row)

Parameters

column
The column position of the control to retrieve.
row
The row position of the control to retrieve.

Returns

The child control occupying the specified cell; otherwise, null if no control exists at the specified column and row, or if the control has its Control.Visible property set to false.

Remarks

The column and row position values are zero based.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0