共用方式為


TableLayoutPanel.GetCellPosition(Control) 方法

定義

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

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

參數

control
Control

儲存格內所含的控制項。

傳回

TableLayoutPanelCellPosition

TableLayoutPanelCellPosition,表示儲存格位置。

適用於