Rediger

Del via


TableLayoutPanel.SetCellPosition Method

Definition

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

public:
 void SetCellPosition(System::Windows::Forms::Control ^ control, System::Windows::Forms::TableLayoutPanelCellPosition position);
public void SetCellPosition (System.Windows.Forms.Control control, System.Windows.Forms.TableLayoutPanelCellPosition position);
member this.SetCellPosition : System.Windows.Forms.Control * System.Windows.Forms.TableLayoutPanelCellPosition -> unit
Public Sub SetCellPosition (control As Control, position As TableLayoutPanelCellPosition)

Parameters

control
Control

A control contained within a cell.

position
TableLayoutPanelCellPosition

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

Applies to