TableLayoutPanel.SetCellPosition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.