TableLayoutPanel.SetCellPosition Method (Control, TableLayoutPanelCellPosition)

 

Sets the TableLayoutPanelCellPosition that represents the row and the column of the cell.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void SetCellPosition(
	Control control,
	TableLayoutPanelCellPosition position
)

Parameters

control
Type: System.Windows.Forms.Control

A control contained within a cell.

position
Type: System.Windows.Forms.TableLayoutPanelCellPosition

A TableLayoutPanelCellPosition that represents the row and the column of the cell.

.NET Framework
Available since 2.0
Return to top
Show: