TableLayoutPanel.GetCellPosition(Control) 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取表示单元格的行号和列号的 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.TableLayoutPanelCellPositionPublic Function GetCellPosition (control As Control) As TableLayoutPanelCellPosition参数
- control
- Control
一个包含在单元格中的控件。
返回
表示单元格位置的 TableLayoutPanelCellPosition。