共用方式為


TableLayoutPanel.SetCellPosition 方法

定義

設定 TableLayoutPanelCellPosition,表示儲存格的資料列和資料行。

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)

參數

control
Control

儲存格內所含的控制項。

position
TableLayoutPanelCellPosition

TableLayoutPanelCellPosition,表示儲存格的資料列和資料行。

適用於